BColorControl: Introduce a _PaletteFrame() method

... eliminating duplicate code.
This commit is contained in:
John Scipione
2013-06-10 19:15:09 -04:00
parent abbd44acfb
commit 8b3b14fdfa
2 changed files with 12 additions and 9 deletions
+1
View File
@@ -100,6 +100,7 @@ private:
BRect updateRect);
BPoint _SelectorPosition(const BRect& rampRect,
uint8 shade) const;
BRect _PaletteFrame() const;
BRect _PaletteSelectorFrame(uint8 colorIndex) const;
BRect _RampFrame(uint8 rampIndex) const;
void _SetCellSize(float size);