API improvements

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4951 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2003-10-05 21:52:00 +00:00
parent b3d31bdb1a
commit c58c0507a5

View File

@ -30,6 +30,8 @@
#include <Locker.h>
#include "RGBColor.h"
#include <Message.h>
#include <String.h>
/*!
\class ColorSet ColorSet.h
@ -43,6 +45,13 @@ public:
ColorSet & operator=(const ColorSet &cs);
void SetColors(const ColorSet &cs);
void PrintToStream(void) const;
bool ConvertToMessage(BMessage *msg) const;
bool ConvertFromMessage(const BMessage *msg);
void SetToDefaults(void);
RGBColor StringToColor(const char *string);
status_t SetColor(const char *string, rgb_color value);
BString name;
RGBColor panel_background,
panel_text,
@ -78,9 +87,11 @@ public:
window_tab_text,
inactive_window_tab,
inactive_window_tab_text;
private:
RGBColor *StringToMember(const char *string);
};
void SetDefaultGUIColors(ColorSet *set);
bool LoadGUIColors(ColorSet *set);
void SaveGUIColors(const ColorSet &set);