#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PrefsWindow : public BWindow { std::vector backend_ids; int32 cur_option = 0; BLooper *next_handler; BStringView *restart_warning; std::string new_label_setting; std::string new_frontend; BOptionPopUp *frontend_popup; BCheckBox *menu_icons; BRadioButton *labels_only; BRadioButton *icons_only; BRadioButton *both_labels_icons; BButton *revert_btn; BButton *apply_btn; void update_label_setting(); void set_options_changed(bool changed); public: bool QuitRequested() override; void MessageReceived(BMessage *msg) override; PrefsWindow(BLooper *next_handler); };