Searched refs:ColorItem (Results 1 - 6 of 6) sorted by relevance

/haiku/headers/private/shared/
H A DColorItem.h18 class ColorItem : public BStringItem { class in inherits:BStringItem
20 ColorItem(const char* string, rgb_color color);
/haiku/src/add-ons/screen_savers/gravity/
H A DConfigView.cpp22 #include "ColorItem.h"
47 fShadeList->AddItem(new ColorItem("Red", (rgb_color){ 255, 65, 54 }));
48 fShadeList->AddItem(new ColorItem("Green", (rgb_color){ 46, 204, 64 }));
49 fShadeList->AddItem(new ColorItem("Blue", (rgb_color){ 0, 116, 217 }));
50 fShadeList->AddItem(new ColorItem("Orange", (rgb_color){ 255, 133, 27 }));
51 fShadeList->AddItem(new ColorItem("Purple", (rgb_color){ 177, 13, 201 }));
52 fShadeList->AddItem(new ColorItem("White", (rgb_color){ 255, 255, 255 }));
/haiku/src/kits/shared/
H A DColorItem.cpp12 #include "ColorItem.h"
27 // #pragma mark - ColorItem
30 ColorItem::ColorItem(const char* string, rgb_color color) function in class:ColorItem
39 ColorItem::DrawItem(BView* owner, BRect frame, bool complete)
/haiku/src/apps/terminal/
H A DColorListView.cpp20 #include "ColorItem.h"
50 ColorItem* colorItem
51 = dynamic_cast<ColorItem*>(ItemAt(index));
120 ColorItem* item = dynamic_cast<ColorItem*>(ItemAt(index));
H A DThemeView.cpp28 #include "ColorItem.h"
83 fAttrList->AddItem(new ColorItem(B_TRANSLATE_NOCOLLECT(*table),
373 ColorItem* item = (ColorItem*)fAttrList->ItemAt(index);
379 ColorItem* item = (ColorItem*)fAttrList->ItemAt(currentIndex);
433 ColorItem* item = static_cast<ColorItem*>(fAttrList->ItemAt(index));
529 ColorItem* item = (ColorItem*)fAttrLis
[all...]
/haiku/src/add-ons/translators/gif/
H A DSavePalette.cpp169 struct ColorItem : public HashItem { struct in inherits:HashItem
170 ColorItem(unsigned int k, unsigned int c, function in struct:ColorItem
232 ColorItem* ci = (ColorItem*)hash.GetItem(key);
234 ci = new(nothrow) ColorItem(key, 1, r, g, b);
349 ColorItem** topcolors = (ColorItem**)malloc(fSize * sizeof(ColorItem*));
355 ColorItem* dummy = new ColorItem(
[all...]

Completed in 44 milliseconds