/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/generic/ |
H A D | laywin.cpp | 83 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 100 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 127 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 129 clientSize.y += thisRect.height; in OnCalculateLayout() 135 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 137 clientSize.x += thisRect.width; in OnCalculateLayout() 138 clientSize.width -= thisRect.width; in OnCalculateLayout() 143 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 145 clientSize.width -= thisRect.width; in OnCalculateLayout() 150 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 262 wxSize clientSize; in BeginDrag() local 266 clientSize = window->GetClientSize(); in BeginDrag() 268 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 274 clientSize.x = w; clientSize.y = h; in BeginDrag() 278 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 290 …if (!backing->IsOk() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y… in BeginDrag() 291 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/generic/ |
H A D | laywin.cpp | 79 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 96 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 123 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 125 clientSize.y += thisRect.height; in OnCalculateLayout() 131 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 133 clientSize.x += thisRect.width; in OnCalculateLayout() 134 clientSize.width -= thisRect.width; in OnCalculateLayout() 139 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 141 clientSize.width -= thisRect.width; in OnCalculateLayout() 146 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 266 wxSize clientSize; in BeginDrag() local 270 clientSize = window->GetClientSize(); in BeginDrag() 272 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 278 clientSize.x = w; clientSize.y = h; in BeginDrag() 282 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 294 … if (!backing->Ok() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y)) in BeginDrag() 295 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/generic/ |
H A D | laywin.cpp | 79 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 96 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 123 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 125 clientSize.y += thisRect.height; in OnCalculateLayout() 131 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 133 clientSize.x += thisRect.width; in OnCalculateLayout() 134 clientSize.width -= thisRect.width; in OnCalculateLayout() 139 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 141 clientSize.width -= thisRect.width; in OnCalculateLayout() 146 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 266 wxSize clientSize; in BeginDrag() local 270 clientSize = window->GetClientSize(); in BeginDrag() 272 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 278 clientSize.x = w; clientSize.y = h; in BeginDrag() 282 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 294 … if (!backing->Ok() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y)) in BeginDrag() 295 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/generic/ |
H A D | laywin.cpp | 79 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 96 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 123 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 125 clientSize.y += thisRect.height; in OnCalculateLayout() 131 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 133 clientSize.x += thisRect.width; in OnCalculateLayout() 134 clientSize.width -= thisRect.width; in OnCalculateLayout() 139 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 141 clientSize.width -= thisRect.width; in OnCalculateLayout() 146 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 266 wxSize clientSize; in BeginDrag() local 270 clientSize = window->GetClientSize(); in BeginDrag() 272 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 278 clientSize.x = w; clientSize.y = h; in BeginDrag() 282 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 294 … if (!backing->Ok() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y)) in BeginDrag() 295 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/generic/ |
H A D | laywin.cpp | 79 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 96 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 123 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 125 clientSize.y += thisRect.height; in OnCalculateLayout() 131 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 133 clientSize.x += thisRect.width; in OnCalculateLayout() 134 clientSize.width -= thisRect.width; in OnCalculateLayout() 139 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 141 clientSize.width -= thisRect.width; in OnCalculateLayout() 146 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 207 wxSize clientSize; in BeginDrag() local 210 clientSize = window->GetClientSize(); in BeginDrag() 212 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 218 clientSize.x = w; clientSize.y = h; in BeginDrag() 221 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 233 …if (!backing->IsOk() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y… in BeginDrag() 234 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/generic/ |
H A D | laywin.cpp | 79 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 96 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 123 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 125 clientSize.y += thisRect.height; in OnCalculateLayout() 131 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 133 clientSize.x += thisRect.width; in OnCalculateLayout() 134 clientSize.width -= thisRect.width; in OnCalculateLayout() 139 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 141 clientSize.width -= thisRect.width; in OnCalculateLayout() 146 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 266 wxSize clientSize; in BeginDrag() local 270 clientSize = window->GetClientSize(); in BeginDrag() 272 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 278 clientSize.x = w; clientSize.y = h; in BeginDrag() 282 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 294 … if (!backing->Ok() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y)) in BeginDrag() 295 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/generic/ |
H A D | laywin.cpp | 83 wxRect clientSize(event.GetRect()); in OnCalculateLayout() local 100 int length = (GetOrientation() == wxLAYOUT_HORIZONTAL) ? clientSize.width : clientSize.height; in OnCalculateLayout() 127 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 129 clientSize.y += thisRect.height; in OnCalculateLayout() 135 thisRect.x = clientSize.x; thisRect.y = clientSize.y; in OnCalculateLayout() 137 clientSize.x += thisRect.width; in OnCalculateLayout() 138 clientSize.width -= thisRect.width; in OnCalculateLayout() 143 thisRect.x = clientSize.x + (clientSize.width - sz.x); thisRect.y = clientSize.y; in OnCalculateLayout() 145 clientSize.width -= thisRect.width; in OnCalculateLayout() 150 thisRect.x = clientSize.x; thisRect.y = clientSize.y + (clientSize.height - sz.y); in OnCalculateLayout() [all …]
|
H A D | dragimgg.cpp | 262 wxSize clientSize; in BeginDrag() local 266 clientSize = window->GetClientSize(); in BeginDrag() 268 m_boundingRect.width = clientSize.x; m_boundingRect.height = clientSize.y; in BeginDrag() 274 clientSize.x = w; clientSize.y = h; in BeginDrag() 278 clientSize.x = m_boundingRect.width; clientSize.y = m_boundingRect.height; in BeginDrag() 290 …if (!backing->IsOk() || (backing->GetWidth() < clientSize.x || backing->GetHeight() < clientSize.y… in BeginDrag() 291 (*backing) = wxBitmap(clientSize.x, clientSize.y); in BeginDrag()
|
/dports/games/lwjgl/lwjgl-2df01dd/src/native/windows/opengles/ |
H A D | context.c | 135 RECT clientSize; in createWindow() local 141 clientSize.bottom = height; in createWindow() 142 clientSize.left = 0; in createWindow() 143 clientSize.right = width; in createWindow() 144 clientSize.top = 0; in createWindow() 147 &clientSize, // client-rectangle structure in createWindow() 158 x, y, clientSize.right - clientSize.left, clientSize.bottom - clientSize.top, in createWindow()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/ |
H A D | draw_panel_gal.cpp | 306 wxSize clientSize = GetClientSize(); in onSize() local 309 if( VECTOR2I( clientSize ) == m_gal->GetScreenPixelSize() ) in onSize() 312 clientSize.x = std::max( 10, clientSize.x ); in onSize() 313 clientSize.y = std::max( 10, clientSize.y ); in onSize() 320 m_gal->ResizeScreen( clientSize.GetX(), clientSize.GetY() ); in onSize() 325 m_view->SetCenter( bottom - m_view->ToWorld( clientSize, false ) / 2.0 ); in onSize() 482 wxSize clientSize = GetClientSize(); in SwitchBackend() local 483 clientSize.x = std::max( 10, clientSize.x ); in SwitchBackend() 484 clientSize.y = std::max( 10, clientSize.y ); in SwitchBackend() 485 m_gal->ResizeScreen( clientSize.GetX(), clientSize.GetY() ); in SwitchBackend()
|
H A D | eda_base_frame.cpp | 615 int yLimBottom = clientSize.y + clientSize.height; in LoadWindowState() 617 int xLimRight = clientSize.x + clientSize.width; in LoadWindowState() 666 clientSize.width, clientSize.height ); in ensureWindowIsOnScreen() 668 if( pos.y < clientSize.y ) in ensureWindowIsOnScreen() 673 pos.y = clientSize.y; in ensureWindowIsOnScreen() 676 if( pos.x < clientSize.x ) in ensureWindowIsOnScreen() 681 pos.x = clientSize.x; in ensureWindowIsOnScreen() 684 if( pos.x + size.x - clientSize.x > clientSize.width ) in ensureWindowIsOnScreen() 686 int newWidth = clientSize.width - ( pos.x - clientSize.x ); in ensureWindowIsOnScreen() 693 if( pos.y + size.y - clientSize.y > clientSize.height ) in ensureWindowIsOnScreen() [all …]
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/samples/vst-hosting/editorhost/source/platform/win32/ |
H A D | window.cpp | 176 RECT clientSize; in proc() local 177 GetClientRect (hwnd, &clientSize); in proc() 182 Size newClientSize = {(clientSize.right - clientSize.left), in proc() 183 (clientSize.bottom - clientSize.top)}; in proc() 190 auto diffX2 = (oldSize.right - oldSize.left) - (clientSize.right - clientSize.left); in proc() 191 auto diffY2 = (oldSize.bottom - oldSize.top) - (clientSize.bottom - clientSize.top); in proc()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/samples/vst-hosting/editorhost/source/platform/win32/ |
H A D | window.cpp | 170 RECT clientSize; in proc() local 171 GetClientRect (hwnd, &clientSize); in proc() 176 Size newClientSize = {(clientSize.right - clientSize.left), in proc() 177 (clientSize.bottom - clientSize.top)}; in proc() 184 auto diffX = (oldSize.right - oldSize.left) - (clientSize.right - clientSize.left); in proc() 185 auto diffY = (oldSize.bottom - oldSize.top) - (clientSize.bottom - clientSize.top); in proc()
|
/dports/math/gambit/gambit-16.0.1/src/labenski/src/ |
H A D | sheetspt.cpp | 292 wxSize clientSize(GetClientSize()); in SetVerticalSplitPosition() local 295 if ((y_pos <= border_size) || (y_pos >= clientSize.y-border_size)) in SetVerticalSplitPosition() 319 wxSize clientSize(GetClientSize()); in SetHorizontalSplitPosition() local 322 if ((x_pos <= border_size) || (x_pos >= clientSize.x-border_size)) in SetHorizontalSplitPosition() 405 wxSize clientSize(GetClientSize()); in LayoutWindows() local 413 x = clientSize.x - 2*border_size; in LayoutWindows() 427 y = clientSize.y - 2*border_size; in LayoutWindows() 458 …rect = wxRect(x+sash_size, y+sash_size, clientSize.x-x-sash_size-border_size, clientSize.y-y-sash_… in LayoutWindows() 602 wxSize clientSize(GetClientSize()); in DrawSash() local 603 bool draw_horiz = (m_splitPos.x > 0) && (m_splitPos.x < clientSize.x); in DrawSash() [all …]
|
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/View/ |
H A D | RenderView.cpp | 120 const wxSize clientSize = GetClientSize(); in updateViewport() local 121 doUpdateViewport(0, 0, clientSize.x, clientSize.y); in updateViewport() 145 const wxSize clientSize = GetClientSize(); in renderFocusIndicator() local 146 const float w = static_cast<float>(clientSize.x); in renderFocusIndicator() 147 const float h = static_cast<float>(clientSize.y); in renderFocusIndicator() 177 glAssert(glViewport(0, 0, clientSize.x, clientSize.y)); in renderFocusIndicator()
|
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/ |
H A D | CIrrDeviceWinCE.cpp | 379 RECT clientSize; in CIrrDeviceWinCE() local 380 clientSize.top = 0; in CIrrDeviceWinCE() 381 clientSize.left = 0; in CIrrDeviceWinCE() 390 AdjustWindowRectEx(&clientSize, style, FALSE, 0); in CIrrDeviceWinCE() 392 const s32 realWidth = clientSize.right - clientSize.left; in CIrrDeviceWinCE() 393 const s32 realHeight = clientSize.bottom - clientSize.top; in CIrrDeviceWinCE() 826 RECT clientSize; in setResizable() local 827 clientSize.top = 0; in setResizable() 828 clientSize.left = 0; in setResizable() 834 const s32 realWidth = clientSize.right - clientSize.left; in setResizable() [all …]
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/samples/vscroll/ |
H A D | vstest.cpp | 138 wxSize clientSize = GetClientSize(); in OnPaint() local 143 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint() 235 wxSize clientSize = GetClientSize(); in OnPaint() local 240 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 244 x + (wLine - hText) / 2, clientSize.GetHeight() - 5, 90); in OnPaint() 340 wxSize clientSize = GetClientSize(); in OnPaint() local 346 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint() 354 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 363 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 367 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint()
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/samples/vscroll/ |
H A D | vstest.cpp | 141 wxSize clientSize = GetClientSize(); in OnPaint() local 146 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint() 238 wxSize clientSize = GetClientSize(); in OnPaint() local 243 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 247 x + (wLine - hText) / 2, clientSize.GetHeight() - 5, 90); in OnPaint() 343 wxSize clientSize = GetClientSize(); in OnPaint() local 350 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint() 358 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 367 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 371 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/samples/vscroll/ |
H A D | vstest.cpp | 141 wxSize clientSize = GetClientSize(); in OnPaint() local 146 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint() 238 wxSize clientSize = GetClientSize(); in OnPaint() local 243 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 247 x + (wLine - hText) / 2, clientSize.GetHeight() - 5, 90); in OnPaint() 343 wxSize clientSize = GetClientSize(); in OnPaint() local 350 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint() 358 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 367 dc.DrawLine(x, 0, x, clientSize.GetHeight()); in OnPaint() 371 dc.DrawLine(0, y, clientSize.GetWidth(), y); in OnPaint()
|