- cursor
void cursor(Cursor value)
Undocumented in source. Be warned that the author may not have intended to support it.
- cursor
Cursor cursor()
Undocumented in source. Be warned that the author may not have intended to support it.
- logger
Logger logger()
Undocumented in source. Be warned that the author may not have intended to support it.
- onBeforeLoopStart
void onBeforeLoopStart(void delegate() dg)
Undocumented in source. Be warned that the author may not have intended to support it.
- onKeyDown
void onKeyDown(const(SDL_Event) event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onKeyUp
void onKeyUp(const(SDL_Event) event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMouseDown
void onMouseDown(const(SDL_Event) event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMouseMotion
void onMouseMotion(const(SDL_Event) event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMouseUp
void onMouseUp(const(SDL_Event) event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMouseWheel
void onMouseWheel(const(SDL_Event) event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onVisibleForTheFirstTime
void onVisibleForTheFirstTime()
Undocumented in source.
- run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
- currTime
auto currTime()
Undocumented in source. Be warned that the author may not have intended to support it.
- currTime
void currTime(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
- lastInteraction
auto lastInteraction()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(NanoContext ctx)
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseButtonCallbackEvent
bool mouseButtonCallbackEvent(MouseButton button, MouseAction action, int modifiers, long timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
- mousePos
Vector2i mousePos()
Return the last observed mouse position value
- updateFocus
void updateFocus(Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- cursorPosCallbackEvent
bool cursorPosCallbackEvent(double x, double y, long last_interaction)
Undocumented in source. Be warned that the author may not have intended to support it.
- moveWindowToFront
void moveWindowToFront(Window window)
Undocumented in source. Be warned that the author may not have intended to support it.
- scrollCallbackEvent
bool scrollCallbackEvent(double x, double y, long timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyboardEvent
bool keyboardEvent(int key, int scancode, KeyAction action, int modifiers)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyboardCharacterEvent
bool keyboardCharacterEvent(dchar codepoint)
Undocumented in source. Be warned that the author may not have intended to support it.
- resizeEvent
bool resizeEvent(Vector2i size)
Window resize event handler
- logger
Logger logger()
Undocumented in source. Be warned that the author may not have intended to support it.
- pixelRatio
float pixelRatio()
Return the ratio between pixel and device coordinates (e.g. >= 2 on Mac Retina displays)
- needToDraw
bool needToDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
- needToDraw
void needToDraw(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
- needToPerfomLayout
bool needToPerfomLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
- needToPerfomLayout
void needToPerfomLayout(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
- blinkingCursorIsVisibleNow
bool blinkingCursorIsVisibleNow()
Undocumented in source. Be warned that the author may not have intended to support it.
- resetBlinkingCursor
void resetBlinkingCursor()
Undocumented in source. Be warned that the author may not have intended to support it.
- addGLCanvas
void addGLCanvas(GLCanvas dw)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeGLCanvas
void removeGLCanvas(GLCanvas dw)
Undocumented in source. Be warned that the author may not have intended to support it.
- mBlinkingCursorVisible
bool mBlinkingCursorVisible;
Undocumented in source.
- mBlinkingCursorTimestamp
long mBlinkingCursorTimestamp;
Undocumented in source.
- mMousePos
Vector2i mMousePos;
Undocumented in source.
- mModifiers
int mModifiers;
Undocumented in source.
- mMouseState
MouseButton mMouseState;
Undocumented in source.
- mLastInteraction
long mLastInteraction;
Undocumented in source.
- mFocusPath
Array!Widget mFocusPath;
Undocumented in source.
- mDragActive
bool mDragActive;
Undocumented in source.
- mDragWidget
Widget mDragWidget;
Undocumented in source.
- mNeedToDraw
bool mNeedToDraw;
- mNeedToPerfomLayout
bool mNeedToPerfomLayout;
Undocumented in source.
- mTimestamp
long mTimestamp;
Undocumented in source.
- mTooltipShown
bool mTooltipShown;
Undocumented in source.
- mCursor
Cursor mCursor;
Undocumented in source.
- mPixelRatio
float mPixelRatio;
Undocumented in source.
- mResizeCallback
void delegate(Vector2i) mResizeCallback;
Undocumented in source.
- mGLCanvases
Array!GLCanvas mGLCanvases;
Undocumented in source.