Searched refs:fBorderWidth (Results 1 – 9 of 9) sorted by relevance
/haiku/src/servers/app/decorator/ |
H A D | TabDecorator.cpp | 243 fBorderWidth = 5; in _DoLayout() 249 fBorderWidth = 5; in _DoLayout() 254 fBorderWidth = 3; in _DoLayout() 258 fBorderWidth = 1; in _DoLayout() 262 fBorderWidth = 0; in _DoLayout() 265 fBorderWidth = int32(fBorderWidth * scaleFactor); in _DoLayout() 270 if (fBorderWidth > 0) { in _DoLayout() 273 fLeftBorder.Set(fFrame.left - fBorderWidth, fFrame.top, in _DoLayout() 277 fFrame.right + fBorderWidth, fFrame.bottom); in _DoLayout() 279 fTopBorder.Set(fFrame.left - fBorderWidth, fFrame.top - fBorderWidth, in _DoLayout() [all …]
|
H A D | DefaultDecorator.cpp | 206 if (fBorderWidth <= 0) in _DrawFrame() 224 for (int8 i = 0; i < fBorderWidth; i++) { in _DrawFrame() 225 const int8 colorsIndex = COLORS_INDEX(i, fBorderWidth, 5); in _DrawFrame() 234 const int overdraw = (int)ceilf(fBorderWidth / 5.0f); in _DrawFrame() 244 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 248 for (int8 i = 0; i < fBorderWidth; i++) { in _DrawFrame() 249 const int8 colorsIndex = COLORS_INDEX(i, fBorderWidth, 5); in _DrawFrame() 261 for (int8 i = 0; i < fBorderWidth; i++) { in _DrawFrame() 262 const int8 colorsIndex = COLORS_INDEX(i, fBorderWidth, 5); in _DrawFrame() 270 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() [all …]
|
H A D | Decorator.cpp | 100 fBorderWidth(-1), in Decorator() 851 if (settings->AddFloat("border width", fBorderWidth) != B_OK) in GetSettings() 878 minTabSize - 2 * fBorderWidth)); in GetSizeLimits() 882 fResizeRect.Height() - fBorderWidth)); in GetSizeLimits() 972 return fBorderWidth; in BorderWidth() 984 return fBorderWidth; in TabHeight()
|
H A D | Decorator.h | 311 int32 fBorderWidth; variable
|
/haiku/src/add-ons/decorators/MacDecorator/ |
H A D | MacDecorator.cpp | 188 fBorderWidth = kDefaultBorderWidth; in _DoLayout() 194 fBorderWidth = kDefaultBorderWidth; in _DoLayout() 199 fBorderWidth = 3; in _DoLayout() 203 fBorderWidth = 1; in _DoLayout() 207 fBorderWidth = 0; in _DoLayout() 210 fBorderWidth = 0; in _DoLayout() 212 fBorderRect = fFrame.InsetByCopy(-fBorderWidth, -fBorderWidth); in _DoLayout() 222 fTitleBarRect.Set(fFrame.left - fBorderWidth, in _DoLayout() 225 fFrame.left + 32.0 : fFrame.right) + fBorderWidth, in _DoLayout() 287 if (fBorderWidth <= 0) in _DrawFrame()
|
/haiku/src/add-ons/decorators/WinDecorator/ |
H A D | WinDecorator.cpp | 199 fBorderWidth = 4; in _DoLayout() 205 fBorderWidth = 4; in _DoLayout() 208 fBorderWidth = 0; in _DoLayout() 213 fBorderWidth = 1; in _DoLayout() 217 fBorderWidth = 0; in _DoLayout() 221 fBorderRect.InsetBy(-fBorderWidth, -fBorderWidth); in _DoLayout()
|
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.cpp | 283 if (fBorderWidth <= 0) in _DrawFrame() 294 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 319 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 377 if (rect.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 408 if (rect.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
|
/haiku/src/apps/workspaces/ |
H A D | Workspaces.cpp | 179 float GetBorderWidth() { return fBorderWidth; } in GetBorderWidth() 180 float GetScreenBorderOffset() { return 2.0 * fBorderWidth; } in GetScreenBorderOffset() 186 float fBorderWidth; member in WorkspacesWindow 732 fBorderWidth = borderWidth; in WorkspacesWindow()
|
/haiku/src/add-ons/decorators/BeDecorator/ |
H A D | BeDecorator.cpp | 343 if (fBorderWidth <= 0) in _DrawFrame() 374 if (invalid.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 396 fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 433 if (invalid.Intersects(fLeftBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame() 464 if (invalid.Intersects(fRightBorder.InsetByCopy(0, -fBorderWidth))) { in _DrawFrame()
|