Zachary Hall
da9b7322f2
Some checks failed
Build / get-source-code (push) Blocked by required conditions
Build / build-appimage (push) Blocked by required conditions
Build / build-android (push) Blocked by required conditions
Build / build-windows (push) Blocked by required conditions
Build / build-gentoo (push) Failing after 1m14s
Build / download-system-deps (push) Has been cancelled
36 lines
925 B
C++
36 lines
925 B
C++
#pragma once
|
|
#include <Window.h>
|
|
#include <StringView.h>
|
|
#include <GroupLayout.h>
|
|
#include <Message.h>
|
|
#include <Control.h>
|
|
#include <SupportDefs.h>
|
|
#include <StringView.h>
|
|
#include <RadioButton.h>
|
|
#include <Button.h>
|
|
#include <OptionPopUp.h>
|
|
#include <CheckBox.h>
|
|
#include <vector>
|
|
#include <string>
|
|
#include <map>
|
|
class HaikuPrefsWindow : public BWindow {
|
|
std::vector<std::string> 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;
|
|
HaikuPrefsWindow(BLooper *next_handler);
|
|
};
|