Fixes and more to do.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23743 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Vendored
+4
-1
@@ -1,4 +1,5 @@
|
|||||||
TODOs for Theme manager:
|
TODOs for Theme manager:
|
||||||
|
* check R5 build
|
||||||
* style cleanup (-> Haiku style)
|
* style cleanup (-> Haiku style)
|
||||||
* enable theme comments again (tooltip on listitem ?).
|
* enable theme comments again (tooltip on listitem ?).
|
||||||
* make ParseMessage more robust
|
* make ParseMessage more robust
|
||||||
@@ -6,14 +7,16 @@ TODOs for Theme manager:
|
|||||||
* implement BackupFiles() methods to add required files to a zip.
|
* implement BackupFiles() methods to add required files to a zip.
|
||||||
* fix TerminalAddon: get theme from haiku
|
* fix TerminalAddon: get theme from haiku
|
||||||
* Save as resource/BMessage ? (for editing)
|
* Save as resource/BMessage ? (for editing)
|
||||||
|
* broadcast _UIC for Haiku
|
||||||
* ideas for addons:
|
* ideas for addons:
|
||||||
- ~/config/settings/Tracker/DefaultFolderTemplate/ (default background ??)
|
- ~/config/settings/Tracker/DefaultFolderTemplate/ (default background ??)
|
||||||
- Desktop icon size ?
|
- Desktop icon size ?
|
||||||
- Desktop shelf ? (dangerous)
|
- Desktop shelf ? (dangerous)
|
||||||
|
- Deskbar logo (Be, leaf...)
|
||||||
- dircolors (cf. http://linux.die.net/man/5/dir_colors )
|
- dircolors (cf. http://linux.die.net/man/5/dir_colors )
|
||||||
- icons (/etc/icons ? svg/hvif, setmime...)
|
- icons (/etc/icons ? svg/hvif, setmime...)
|
||||||
- mouse cursors (needs app_server fixes ??)
|
- mouse cursors (needs app_server fixes ??)
|
||||||
- Pulse colors (-> sample code)
|
- Pulse colors (-> sample code)
|
||||||
- BeIDE/Pe/Eddie full colors (map to singe namespace)
|
- BeIDE/Pe/Eddie full colors (map to singe namespace)
|
||||||
|
- Firefox theme ?
|
||||||
|
|
||||||
|
|||||||
+4
@@ -190,6 +190,10 @@ status_t ThemesAddon::CompareToCurrent(BMessage &theme)
|
|||||||
BMessage current, a, b;
|
BMessage current, a, b;
|
||||||
BackupCurrent(current);
|
BackupCurrent(current);
|
||||||
status_t err;
|
status_t err;
|
||||||
|
|
||||||
|
if (!MessageName())
|
||||||
|
return B_OK;
|
||||||
|
|
||||||
err = theme.FindMessage(MessageName(), &a);
|
err = theme.FindMessage(MessageName(), &a);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Vendored
+2
@@ -78,6 +78,8 @@
|
|||||||
#define B_UI_MENU_SELECTED_BORDER_COLOR "be:c:MenSBr"
|
#define B_UI_MENU_SELECTED_BORDER_COLOR "be:c:MenSBr"
|
||||||
#define B_UI_SUCCESS_COLOR "be:c:Success"
|
#define B_UI_SUCCESS_COLOR "be:c:Success"
|
||||||
#define B_UI_FAILURE_COLOR "be:c:Failure"
|
#define B_UI_FAILURE_COLOR "be:c:Failure"
|
||||||
|
// broadcasted on update
|
||||||
|
#define B_UI_SETTINGS_CHANGED '_UIC'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _Z_UI_THEME_H */
|
#endif /* _Z_UI_THEME_H */
|
||||||
|
|||||||
@@ -126,6 +126,9 @@ status_t DeskbarThemesAddon::MakeTheme(BMessage &theme, uint32 flags)
|
|||||||
bool expanded;
|
bool expanded;
|
||||||
BDeskbar db;
|
BDeskbar db;
|
||||||
|
|
||||||
|
deskbar.RemoveName("db:location");
|
||||||
|
deskbar.RemoveName("db:expanded");
|
||||||
|
|
||||||
loc = db.Location(&expanded);
|
loc = db.Location(&expanded);
|
||||||
deskbar.AddInt32("db:location", (int32)loc);
|
deskbar.AddInt32("db:location", (int32)loc);
|
||||||
deskbar.AddBool("db:expanded", expanded);
|
deskbar.AddBool("db:expanded", expanded);
|
||||||
|
|||||||
Reference in New Issue
Block a user