Move flags around, fixes the build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23728 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-01-25 02:00:58 +00:00
parent d8f3b939bb
commit 6ea2e4e38f
2 changed files with 15 additions and 12 deletions

View File

@ -6,21 +6,11 @@
#include <Message.h>
#include <String.h>
#include "UITheme.h"
/* backup of current settings when applying a theme */
#define THEME_ID_BACKUP -1
/* flags */
// try to apply settings to running applications
#define UI_THEME_SETTINGS_APPLY 0x00000001
// save settings to native storage
#define UI_THEME_SETTINGS_SAVE 0x00000002
// attempt to do both
#define UI_THEME_SETTINGS_SET_ALL (UI_THEME_SETTINGS_APPLY|UI_THEME_SETTINGS_SAVE)
// do read settings from native storage
#define UI_THEME_SETTINGS_RETRIEVE 0x00000004
namespace Z {
namespace ThemeManager {
class ThemeManager;

View File

@ -37,6 +37,19 @@
// allow this addon to save things to themes
#define Z_THEME_ADDON_DO_RETRIEVE 0x00000004
// Theme Manager flags
// try to apply settings to running applications
#define UI_THEME_SETTINGS_APPLY 0x00000001
// save settings to native storage
#define UI_THEME_SETTINGS_SAVE 0x00000002
// attempt to do both
#define UI_THEME_SETTINGS_SET_ALL (UI_THEME_SETTINGS_APPLY|UI_THEME_SETTINGS_SAVE)
// do read settings from native storage
#define UI_THEME_SETTINGS_RETRIEVE 0x00000004
#define Z_THEMES_FOLDER_NAME "UIThemes"
#define Z_THEME_FILE_NAME "Theme"