Style update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28707 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,14 +24,17 @@ class BTextControl;
|
|||||||
|
|
||||||
class BColorControl : public BControl {
|
class BColorControl : public BControl {
|
||||||
public:
|
public:
|
||||||
BColorControl(BPoint start, color_control_layout layout,
|
BColorControl(BPoint start,
|
||||||
|
color_control_layout layout,
|
||||||
float cellSize, const char* name,
|
float cellSize, const char* name,
|
||||||
BMessage* message = NULL, bool useOffscreen = false);
|
BMessage* message = NULL,
|
||||||
|
bool useOffscreen = false);
|
||||||
BColorControl(BMessage* archive);
|
BColorControl(BMessage* archive);
|
||||||
virtual ~BColorControl();
|
virtual ~BColorControl();
|
||||||
|
|
||||||
static BArchivable* Instantiate(BMessage* archive);
|
static BArchivable* Instantiate(BMessage* archive);
|
||||||
virtual status_t Archive(BMessage* archive, bool deep = true) const;
|
virtual status_t Archive(BMessage* archive,
|
||||||
|
bool deep = true) const;
|
||||||
|
|
||||||
virtual void SetLayout(BLayout* layout);
|
virtual void SetLayout(BLayout* layout);
|
||||||
|
|
||||||
@@ -93,7 +96,8 @@ class BColorControl : public BControl {
|
|||||||
void _ColorRamp(BRect rect, BView* target,
|
void _ColorRamp(BRect rect, BView* target,
|
||||||
rgb_color baseColor, rgb_color compColor,
|
rgb_color baseColor, rgb_color compColor,
|
||||||
int16 flag, bool focused, BRect update);
|
int16 flag, bool focused, BRect update);
|
||||||
BPoint _SelectorPosition(const BRect& rampRect, uint8 shade) const;
|
BPoint _SelectorPosition(const BRect& rampRect,
|
||||||
|
uint8 shade) const;
|
||||||
BRect _PaletteSelectorFrame(uint8 colorIndex) const;
|
BRect _PaletteSelectorFrame(uint8 colorIndex) const;
|
||||||
BRect _RampFrame(uint8 rampIndex) const;
|
BRect _RampFrame(uint8 rampIndex) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user