KiCad PCB EDA Suite
|
#include <wx/cursor.h>
Go to the source code of this file.
Namespaces | |
namespace | KIPLATFORM |
namespace | KIPLATFORM::UI |
Functions | |
bool | KIPLATFORM::UI::IsDarkTheme () |
Determine if the desktop interface is currently using a dark theme or a light theme. More... | |
wxColour | KIPLATFORM::UI::GetDialogBGColour () |
void | KIPLATFORM::UI::ForceFocus (wxWindow *aWindow) |
Pass the current focus to the window. More... | |
bool | KIPLATFORM::UI::IsWindowActive (wxWindow *aWindow) |
Check to see if the given window is the currently active window (e.g. More... | |
void | KIPLATFORM::UI::ReparentQuasiModal (wxNonOwnedWindow *aWindow) |
Move a window's parent to be the top-level window and force the window to be on top. More... | |
void | KIPLATFORM::UI::FixupCancelButtonCmdKeyCollision (wxWindow *aWindow) |
bool | KIPLATFORM::UI::IsStockCursorOk (wxStockCursor aCursor) |
Checks if we designated a stock cursor for this OS as "OK" or else we may need to load a custom one. More... | |
void | KIPLATFORM::UI::LargeChoiceBoxHack (wxChoice *aChoice) |
Configure a wxChoice control to support a lot of entries by disabling functionality that makes adding new items become very expensive. More... | |
void | KIPLATFORM::UI::EllipsizeChoiceBox (wxChoice *aChoice) |
Configure a wxChoice control to ellipsize the shown text in the button with the ellipses placed at the end of the string. More... | |
double | KIPLATFORM::UI::GetPixelScaleFactor (const wxWindow *aWindow) |
Tries to determine the pixel scaling factor currently in use for the window. More... | |
double | KIPLATFORM::UI::GetContentScaleFactor (const wxWindow *aWindow) |
Tries to determine the content scaling factor currently in use for the window. More... | |
wxSize | KIPLATFORM::UI::GetUnobscuredSize (const wxWindow *aWindow) |
Tries to determine the size of the viewport of a scrollable widget (wxDataViewCtrl, wxGrid) that won't be obscured by scrollbars. More... | |
void | KIPLATFORM::UI::SetOverlayScrolling (const wxWindow *aWindow, bool overlay) |
Used to set overlay/non-overlay scrolling mode in a window. More... | |
bool | KIPLATFORM::UI::AllowIconsInMenus () |
If the user has disabled icons system-wide, we check that here. More... | |
wxPoint | KIPLATFORM::UI::GetMousePosition () |
Returns the mouse position in screen coordinates. More... | |
bool | KIPLATFORM::UI::WarpPointer (wxWindow *aWindow, int aX, int aY) |
Move the mouse cursor to a specific position relative to the window. More... | |
void | KIPLATFORM::UI::ImmControl (wxWindow *aWindow, bool aEnable) |
Configures the IME mode of a given control handle. More... | |
void | KIPLATFORM::UI::InfiniteDragPrepareWindow (wxWindow *aWindow) |
On Wayland, restricts the pointer movement to a rectangle slightly bigger than the given wxWindow . More... | |
void | KIPLATFORM::UI::InfiniteDragReleaseWindow () |
On Wayland, allows the cursor to freely move again after a drag (see InfiniteDragPrepareWindow ). More... | |