-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4259477
commit ee11e6c
Showing
13 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: MIT | ||
// SPDX-FileCopyrightText: 2022 Chris Roberts | ||
|
||
#ifndef _SETTINGS_H_ | ||
#define _SETTINGS_H_ | ||
|
||
#include <SupportDefs.h> | ||
|
||
class BMessage; | ||
|
||
class Settings { | ||
public: | ||
static status_t ReadSettings(BMessage& message); | ||
static status_t WriteSettings(BMessage& message); | ||
}; | ||
|
||
#endif // _SETTINGS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// SPDX-License-Identifier: MIT | ||
// SPDX-FileCopyrightText: 2022 Chris Roberts | ||
|
||
#ifndef _PREFERENCESWINDOW_H_ | ||
#define _PREFERENCESWINDOW_H_ | ||
#ifndef _SETTINGSWINDOW_H_ | ||
#define _SETTINGSWINDOW_H_ | ||
|
||
#include <Window.h> | ||
|
||
class BCheckBox; | ||
class BTextControl; | ||
|
||
|
||
class PreferencesWindow : public BWindow { | ||
class SettingsWindow : public BWindow { | ||
|
||
public: | ||
PreferencesWindow(BString& title); | ||
SettingsWindow(BString& title); | ||
|
||
virtual void MessageReceived(BMessage* message); | ||
virtual bool QuitRequested(); | ||
|
||
private: | ||
status_t _WritePreferences(); | ||
status_t _WriteSettings(); | ||
|
||
#ifdef USE_MENUITEM_ICONS | ||
BCheckBox* fIconMenuCheckBox; | ||
#endif | ||
BTextControl* fMenuLabelControl; | ||
}; | ||
|
||
#endif // _PREFERENCESWINDOW_H_ | ||
#endif // _SETTINGSWINDOW_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters