* whitespace cleanup

* implemented the disabled look and color ramping


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28503 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2008-11-04 19:08:26 +00:00
parent 167460c123
commit d2184e65c1
2 changed files with 103 additions and 82 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ class BColorControl : public BControl {
void _DrawColorArea(BView* target, BRect update);
void _DrawSelectors(BView* target);
void _ColorRamp(BRect rect, BView* target,
rgb_color baseColor, int16 flag,
bool focused, BRect update);
rgb_color baseColor, rgb_color compColor,
int16 flag, bool focused, BRect update);
BPoint _SelectorPosition(const BRect& rampRect, uint8 shade) const;
BRect _PaletteSelectorFrame(uint8 colorIndex) const;
BRect _RampFrame(uint8 rampIndex) const;