Searched refs:height (Results 226 - 250 of 838) sorted by path

1234567891011>>

/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconOptionsControl.cpp149 IconOptionsControl::FrameResized(float width, float height) argument
H A DIconOptionsControl.h40 virtual void FrameResized(float width, float height);
H A DSwatchView.cpp31 rgb_color color, float width, float height)
33 BView(BRect(0.0, 0.0, width, height), name, B_FOLLOW_NONE, B_WILL_DRAW),
42 fHeight(height)
30 SwatchView(const char* name, BMessage* message, BHandler* target, rgb_color color, float width, float height) argument
H A DSwatchView.h18 float width = 24.0, float height = 24.0);
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DAlphaSlider.cpp225 AlphaSlider::FrameResized(float width, float height) argument
320 uint32 height = fBitmap->Bounds().IntegerHeight() + 1; local
323 for (uint32 i = 1; i < height; i++) {
329 for (uint32 i = 0; i < height; i++) {
370 AlphaSlider::_AllocBitmap(int32 width, int32 height) argument
372 if (width < 2 || height < 2)
376 fBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
H A DAlphaSlider.h34 virtual void FrameResized(float width, float height);
47 void _AllocBitmap(int32 width, int32 height);
H A DColorField.cpp180 ColorField::FrameResized(float width, float height) argument
233 float height = Height(); local
240 B = round(255.0 - fMarkerPosition.y / height * 255.0);
246 B = round(255.0 - fMarkerPosition.y / height * 255.0);
251 G = round(255.0 - fMarkerPosition.y / height * 255.0);
258 V = 1.0 - fMarkerPosition.y / height;
264 V = 1.0 - fMarkerPosition.y / height;
269 S = 1.0 - fMarkerPosition.y / height;
313 float height = Height(); local
318 (255.0 - color.blue) / 255.0 * height);
410 _AllocBitmap(int32 width, int32 height) argument
445 int32 height = bitmap->Bounds().IntegerHeight(); local
[all...]
H A DColorField.h45 virtual void FrameResized(float width, float height);
72 void _AllocBitmap(int32 width, int32 height);
H A DColorSlider.cpp223 ColorSlider::FrameResized(float width, float height) argument
424 ColorSlider::_AllocBitmap(int32 width, int32 height) argument
426 if (width < 2 || height < 2)
430 fBitmap = new BBitmap(BRect(0, 0, width - 1, height - 1), 0, B_RGB32);
461 int32 height = bitmap->Bounds().IntegerHeight(); local
478 for (int y = 0; y <= height; y++) {
479 r = 255 - y * 255 / height;
486 _DrawColorLineX(bits, height, bpr, r, g, b);
496 for (int y = 0; y <= height; y++) {
497 g = 255 - y * 255 / height;
601 _DrawColorLineX(uint8* bits, int height, int bpr, int r, int g, int b) argument
[all...]
H A DColorSlider.h43 virtual void FrameResized(float width, float height);
69 void _AllocBitmap(int32 width, int32 height);
79 static inline void _DrawColorLineX(uint8* bits, int height,
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupSlider.cpp67 float height = labelHeight > sliderHeight + 2.0 ? local
77 fSliderButtonRect.top = floorf(height / 2.0 - (sliderHeight + 2.0) / 2.0);
85 mpm.mini.y = mpm.maxi.y = height + 1.0;
H A DSliderView.cpp319 float& width, float& height)
329 height = 2.0 + ceilf(fh.ascent + fh.descent) + 2.0;
317 GetSliderButtonDimensions(int32 max, const char* formatString, BFont* font, float& width, float& height) argument
H A DSliderView.h61 float& height);
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollView.cpp376 ScrollView::FrameResized(float width, float height) argument
827 float height = childRect.Height(); local
842 } else if (hbar && width >= dataWidth && vbar && height >= dataHeight) {
976 size.height += B_H_SCROLL_BAR_HEIGHT;
984 size.height += fHVisible ? -1 : 0;
991 size.height += 1;
996 size.height += fHVisible ? 0 : 1;
1004 size.height += 2;
1009 size.height += fHVisible ? 1 : 2;
H A DScrollView.h57 virtual void FrameResized(float width, float height);
H A DScrollable.cpp181 Scrollable::SetVisibleSize(float width, float height) argument
183 if ((fVisibleWidth != width || fVisibleHeight != height) &&
184 width >= 0 && height >= 0) {
188 fVisibleHeight = height;
H A DScrollable.h35 void SetVisibleSize(float width, float height);
H A DScroller.cpp109 Scroller::SetVisibleSize(float width, float height) argument
112 fScrollTarget->SetVisibleSize(width, height);
H A DScroller.h29 void SetVisibleSize(float width, float height);
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/
H A DIconProperty.cpp21 uint32 width, uint32 height,
28 fHeight(height),
19 IconProperty(uint32 identifier, const uchar* icon, uint32 width, uint32 height, color_space format, BMessage* message) argument
H A DIconProperty.h20 uint32 width, uint32 height,
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyEditorView.cpp76 float height = floorf(4.0 + fh.ascent + fh.descent); local
78 return height;
H A DPropertyItemView.cpp99 PropertyItemView::FrameResized(float width, float height) argument
103 fEditorView->ResizeTo(width - fLabelWidth, height);
158 float height = floorf(4.0 + fh.ascent + fh.descent); local
160 height = max_c(height, fEditorView->PreferredHeight());
162 return height;
H A DPropertyItemView.h25 virtual void FrameResized(float width, float height);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DBoolValueView.cpp68 BoolValueView::FrameResized(float width, float height) argument
70 float radius = ceilf((height - 6.0) / 2.0);
72 float centerY = floorf(Bounds().top + height / 2.0);

Completed in 89 milliseconds

1234567891011>>