Searched refs:kMargin (Results 1 – 5 of 5) sorted by relevance
/haiku/src/bin/desklink/ |
H A D | VolumeWindow.cpp | 52 const int32 kMargin = 3; in VolumeWindow() local 55 if (screenFrame.right < windowRect.right + kMargin) in VolumeWindow() 56 MoveBy(- kMargin - windowRect.right + screenFrame.right, 0); in VolumeWindow() 57 if (screenFrame.bottom < windowRect.bottom + kMargin) in VolumeWindow() 58 MoveBy(0, - kMargin - windowRect.bottom + screenFrame.bottom); in VolumeWindow() 59 if (screenFrame.left > windowRect.left - kMargin) in VolumeWindow() 60 MoveBy(kMargin + screenFrame.left - windowRect.left, 0); in VolumeWindow() 61 if (screenFrame.top > windowRect.top - kMargin) in VolumeWindow() 62 MoveBy(0, kMargin + screenFrame.top - windowRect.top); in VolumeWindow()
|
/haiku/src/apps/processcontroller/ |
H A D | KernelMemoryBarMenuItem.cpp | 136 BRect trect(cadre.left - kMargin - gMemoryTextWidth, frame.top, in DrawBar() 137 cadre.left - kMargin, frame.bottom); in DrawBar() 144 loc.x -= kMargin + gMemoryTextWidth / 2 + menu->StringWidth(infos); in DrawBar() 147 loc.x = cadre.left - kMargin - menu->StringWidth(infos); in DrawBar() 161 *_width += 20 + kBarWidth + kMargin + gMemoryTextWidth; in GetContentSize()
|
H A D | MemoryBarMenuItem.cpp | 166 BRect textRect(rect.left - kMargin - gMemoryTextWidth, frame.top, in DrawBar() 167 rect.left - kMargin, frame.bottom); in DrawBar() 181 BPoint loc(rect.left - kMargin - gMemoryTextWidth / 2 - menu->StringWidth(infos), in DrawBar() 186 loc.x = rect.left - kMargin - menu->StringWidth(infos); in DrawBar() 197 + kBarWidth + kMargin + gMemoryTextWidth; in GetContentSize()
|
H A D | ProcessController.h | 80 #define kMargin 12 macro
|
H A D | Utilities.cpp | 185 rect.left = frame.right - kMargin - kBarWidth; in bar_rect() 186 rect.right = frame.right - kMargin; in bar_rect()
|