Searched refs:background (Results 1 - 25 of 75) sorted by relevance

123

/haiku/src/tests/kits/interface/layout/widget_layout_test/tests/
H A DCheckBoxTest.cpp42 // BControl sets its background color to that of its parent in
44 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
45 fControl->SetViewColor(background);
46 fControl->SetLowColor(background);
H A DRadioButtonTest.cpp43 // BControl sets its background color to that of its parent in
45 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
46 fControl->SetViewColor(background);
47 fControl->SetLowColor(background);
H A DTextControlTest.cpp62 // BMenuField sets its background color to that of its parent in
64 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
65 fTextControl->SetViewColor(background);
66 fTextControl->SetLowColor(background);
H A DMenuFieldTest.cpp74 // BMenuField sets its background color to that of its parent in
76 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
77 fMenuField->SetViewColor(background);
78 fMenuField->SetLowColor(background);
/haiku/src/preferences/backgrounds/
H A DImageFilePanel.cpp55 BView* background = Window()->ChildAt(0); local
57 = background->FindView("PoseView")->ResizingMode();
59 = background->FindView("CountVw")->ResizingMode();
61 = background->FindView("VScrollBar")->ResizingMode();
63 = background->FindView("HScrollBar")->ResizingMode();
65 background->FindView("PoseView")
67 background->FindView("CountVw")
69 background->FindView("VScrollBar")
71 background->FindView("HScrollBar")
74 background
[all...]
/haiku/src/system/boot/platform/generic/
H A Dtext_console.cpp58 console_set_color(int32 foreground, int32 background) argument
60 gConsoleNode->SetColors(foreground, background);
H A Dvideo_text_console.cpp30 virtual void SetColors(int32 foreground, int32 background);
141 VideoTextConsole::SetColors(int32 foreground, int32 background) argument
143 fColor = (background & 0xf) << 4 | (foreground & 0xf);
/haiku/headers/os/media/
H A DPlaySound.h16 bool background);
/haiku/src/tests/system/boot/loader/
H A Dplatform_console.cpp49 console_set_color(int32 foreground, int32 background) argument
/haiku/src/kits/media/
H A DPlaySound.cpp17 bool background
/haiku/src/apps/terminal/
H A DTerminalLine.h24 uint32 background; member in struct:Attributes
28 Attributes() : state(0), foreground(0), background(0), underline(0), underlineStyle(0) {}
34 background = 0;
59 background = 0x80000000 | (red << 16) | (green << 8) | blue;
83 background = 0;
107 background = 0;
136 if ((background & 0x80000000) != 0)
137 return make_color((background >> 16) & 0xFF,
138 (background >> 8) & 0xFF,
139 background
[all...]
/haiku/src/tests/servers/app/statusbar/
H A Dmain.cpp26 BView* background = new BView(frame, "bg", B_FOLLOW_ALL, 0); local
27 background->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
28 AddChild(background);
30 frame = background->Bounds();
34 background->AddChild(fStatusBar);
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.cpp83 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
84 rgb_color light = tint_color(background, B_LIGHTEN_MAX_TINT);
85 rgb_color lightShadow = tint_color(background, B_DARKEN_1_TINT);
86 rgb_color shadow = tint_color(background, B_DARKEN_2_TINT);
87 rgb_color darkShadow = tint_color(background, B_DARKEN_4_TINT);
113 BPoint(r.left, r.top), background); local
115 BPoint(r.right, r.top), background); local
117 BPoint(r.right, r.bottom), background); local
119 BPoint(r.left + 1.0, r.bottom), background); local
123 BPoint(r.left, r.top), background); local
125 BPoint(r.right, r.top), background); local
127 BPoint(r.right, r.bottom), background); local
129 BPoint(r.left + 1.0, r.bottom), background); local
338 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
[all...]
H A DInputSlider.cpp170 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
176 lightShadow = tint_color(background, B_DARKEN_1_TINT);
177 midShadow = tint_color(background, B_DARKEN_2_TINT);
178 darkShadow = tint_color(background, B_DARKEN_4_TINT);
179 light = tint_color(background, B_LIGHTEN_MAX_TINT);
181 lightShadow = background;
182 midShadow = tint_color(background, B_DARKEN_1_TINT);
183 darkShadow = tint_color(background, B_DARKEN_2_TINT);
184 light = tint_color(background, B_LIGHTEN_1_TINT);
206 BPoint(r.right, r.bottom), background); local
208 BPoint(r.left + 1.0, r.bottom), background); local
[all...]
H A DPopupSlider.cpp129 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
132 black = tint_color(background, B_DARKEN_MAX_TINT);
134 black = tint_color(background, B_DISABLED_LABEL_TINT);
142 SetLowColor(background);
270 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
274 lightShadow = tint_color(background, B_DARKEN_2_TINT);
275 darkShadow = tint_color(background, B_DARKEN_4_TINT);
277 lightShadow = tint_color(background, B_DARKEN_1_TINT);
278 darkShadow = tint_color(background, B_DARKEN_2_TINT);
/haiku/src/tests/servers/app/newerClipping/
H A DDesktop.cpp214 BRegion background; local
215 _RebuildClippingForAllWindows(&background);
216 _SetBackground(&background);
243 BRegion background; local
244 _RebuildClippingForAllWindows(&background);
247 _SetBackground(&background);
267 BRegion background; local
268 _RebuildClippingForAllWindows(&background);
270 _SetBackground(&background);
358 BRegion background; local
398 BRegion background; local
454 BRegion background; local
635 _SetBackground(BRegion* background) argument
[all...]
/haiku/src/system/boot/platform/u-boot/
H A Dconsole.cpp30 virtual void SetColors(int32 foreground, int32 background);
106 VTConsole::SetColors(int32 foreground, int32 background) argument
114 if (background < 0 || background >= 8)
120 cmap[foreground] + 30, cmap[background] + 40);
/haiku/src/apps/expander/
H A DDirectoryFilePanel.cpp68 BView* background = Window()->ChildAt(0); local
69 BView* cancel = background->FindView("cancel button");
75 rect = background->Bounds();
89 background->AddChild(fCurrentButton);
/haiku/src/system/boot/platform/next_m68k/
H A Dconsole.cpp37 virtual void SetColors(int32 foreground, int32 background);
156 Console::SetColors(int32 foreground, int32 background) argument
160 if (background == 0) {
163 background = 15;
168 buff[5] += (char)translate_color(background);
/haiku/src/system/boot/platform/atari_m68k/
H A Dconsole.cpp37 void SetColors(int32 foreground, int32 background);
158 Console::SetColors(int32 foreground, int32 background) argument
162 if (background == 0)
165 background = 15;
171 buff[5] += (char)translate_color(background);
/haiku/src/apps/icon-o-matic/gui/
H A DSavePanel.cpp78 BView* background = Window()->ChildAt(0); local
79 if (background == NULL) {
84 background->FindView("cancel button"));
85 BView* textview = background->FindView("text view");
113 BView *poseview = background->FindView("PoseView");
115 BView *countvw = (BView *)background->FindView("CountVw");
125 background->AddChild(fFormatMF);
136 background->AddChild(fSettingsB);
142 BButton *insert = (BButton *)background->FindView("default button");
309 // BView* background
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp78 rgb_color background = LowColor(); local
80 background = parent->getcolor();
86 lightShadow = tint_color(background, B_DARKEN_1_TINT);
87 shadow = tint_color(background, B_DARKEN_2_TINT);
88 darkShadow = tint_color(background, B_DARKEN_4_TINT);
89 light = tint_color(background, B_LIGHTEN_MAX_TINT);
92 lightShadow = tint_color(background, 1.11);
93 shadow = tint_color(background, B_DARKEN_1_TINT);
94 darkShadow = tint_color(background, B_DARKEN_2_TINT);
95 light = tint_color(background, B_LIGHTEN_2_TIN
515 DrawNormalBorder(BRect r, rgb_color background, rgb_color shadow, rgb_color darkShadow, rgb_color lightShadow, rgb_color light) argument
524 DrawPressedBorder(BRect r, rgb_color background, rgb_color shadow, rgb_color darkShadow, rgb_color lightShadow, rgb_color light) argument
[all...]
/haiku/headers/private/kernel/boot/platform/generic/
H A Dtext_console.h14 // foreground and background colors
69 extern void console_set_color(int32 foreground, int32 background);
/haiku/src/system/boot/platform/amiga_m68k/
H A Dconsole.cpp29 void SetColor(int32 foreground, int32 background);
51 void SetColor(int32 foreground, int32 background);
193 ConsoleHandle::SetColor(int32 foreground, int32 background) argument
196 SetBPen(&gScreen->RastPort, background);
373 ConsoleDevice::SetColor(int32 foreground, int32 background) argument
386 //if (background >= 8)
387 // background -= 8;
389 if (foreground == background) {
390 foreground = 7 - background;
396 if (background <
769 console_set_color(int32 foreground, int32 background) argument
[all...]
/haiku/src/preferences/appearance/
H A DColorPreview.cpp64 rgb_color background = ui_color(B_PANEL_BACKGROUND_COLOR); local
65 rgb_color shadow = tint_color(background, B_DARKEN_1_TINT);
66 rgb_color darkShadow = tint_color(background, B_DARKEN_3_TINT);
67 rgb_color light = tint_color(background, B_LIGHTEN_MAX_TINT);
89 BPoint(bounds.right, bounds.bottom), background); local
91 BPoint(bounds.left + 1.0, bounds.bottom), background); local
102 // fill background

Completed in 562 milliseconds

123