Home
last modified time | relevance | path

Searched refs:kColorWhichCount (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/private/app/
H A DServerReadOnlyMemory.h19 static const int32 kColorWhichCount = kColorWhichLastContinuous + 3; variable
24 rgb_color colors[kColorWhichCount];
31 if (which <= kColorWhichCount - 3) in color_which_to_index()
34 return which - B_SUCCESS_COLOR + kColorWhichCount - 3; in color_which_to_index()
43 if (index >= 0 && index < kColorWhichCount) { in index_to_color_which()
44 if ((color_which)index < kColorWhichCount - 3) in index_to_color_which()
48 - kColorWhichCount + 3); in index_to_color_which()
/haiku/src/preferences/appearance/
H A DColors.cpp106 for (int32 index = 0; index < kColorWhichCount; ++index) { in get_default_colors()
120 for (int32 index = 0; index < kColorWhichCount; ++index) { in get_current_colors()
/haiku/src/servers/app/
H A DDesktopSettings.cpp83 sizeof(rgb_color) * kColorWhichCount); in _SetDefaults()
307 for (int32 i = 0; i < kColorWhichCount; i++) { in _Load()
457 for (int32 i = 0; i < kColorWhichCount; i++) { in Save()
671 if (index < 0 || index >= kColorWhichCount) in SetUIColor()
704 if (colorIndex < 0 || colorIndex >= kColorWhichCount in SetUIColors()
733 if (index < 0 || index >= kColorWhichCount) in UIColor()
/haiku/src/kits/interface/
H A DInterfaceDefs.cpp75 static const rgb_color _kDefaultColors[kColorWhichCount] = {
121 static const rgb_color _kDefaultColorsDark[kColorWhichCount] = {
166 static const char* kColorNames[kColorWhichCount] = {
1315 if (index < 0 || index >= kColorWhichCount) { in ui_color()
1354 if (index < 0 || index >= kColorWhichCount) { in ui_color_name()
1369 for (int32 index = 0; index < kColorWhichCount; ++index) { in which_ui_color()
1382 if (index < 0 || index >= kColorWhichCount) { in set_ui_color()