Public Member Functions

  • WindowImplMsw (const Window::Format &format, RendererRef sharedRenderer, AppImplMsw *appImpl)
  • WindowImplMsw (HWND hwnd, RendererRef renderer, RendererRef sharedRenderer, AppImplMsw *appImpl)
  • ~WindowImplMsw ()
  • bool
    isFullScreen ()
  • void
    setFullScreen (bool fullScreen, const app::FullScreenOptions &options)
  • ivec2
    getSize () const
  • void
    setSize (const ivec2 &sizePoints)
  • ivec2
    getPos () const
  • void
    setPos (const ivec2 &pos)
  • float
    getContentScale () const
  • int
    toPoints (int pixels) const
  • float
    toPoints (float pixels) const
  • ivec2
    toPixels (const ivec2 &points)
  • void
    close ()
  • std::string
    getTitle () const
  • void
    setTitle (const std::string &title)
  • void
    hide ()
  • void
    show ()
  • bool
    isHidden () const
  • getDisplay () const
  • getRenderer () const
  • const std::vector< TouchEvent::Touch > &
    getActiveTouches () const
  • void *
    getNative ()
  • void
    enableMultiTouch ()
  • bool
    isBorderless () const
  • void
    setBorderless (bool borderless)
  • bool
    isAlwaysOnTop () const
  • void
    setAlwaysOnTop (bool alwaysOnTop)
  • getAppImpl ()
  • getWindow ()
  • void
    keyDown (const KeyEvent &event)
  • void
    draw ()
  • void
    redraw ()
  • void
    resize ()
  • HWND
    getHwnd () const
  • HDC
    getDc () const
  • void
    privateClose ()

Protected Member Functions

  • void
    createWindow (const ivec2 &windowSize, const std::string &title, DisplayRef display, RendererRef sharedRenderer)
  • void
    completeCreation ()
  • void
    getScreenSize (int clientWidth, int clientHeight, int *resultWidth, int *resultHeight)
  • void
    onTouch (HWND hWnd, WPARAM wParam, LPARAM lParam)
  • void
    toggleFullScreen (const app::FullScreenOptions &options)
  • void
    registerWindowClass ()

Protected Attributes

  • mAppImpl
  • mWindowRef
  • HWND
    mWnd
  • HDC
    mDC
  • DWORD
    mWindowStyle
  • DWORD
    mWindowExStyle
  • ivec2
    mWindowOffset
  • bool
    mHidden
  • int
    mWindowWidthPx
  • int
    mWindowHeightPx
  • bool
    mFullScreen
  • bool
    mBorderless
  • bool
    mAlwaysOnTop
  • bool
    mResizable
  • ivec2
    mWindowedPos
  • ivec2
    mWindowedSizePx
  • mDisplay
  • mRenderer
  • std::map< DWORD, vec2 >
    mMultiTouchPrev
  • std::vector< TouchEvent::Touch >
    mActiveTouches
  • bool
    mIsDragging
  • friend
    AppImplMsw

Friends

  • friend LRESULT CALLBACK
    WndProc (HWND, UINT, WPARAM, LPARAM)