ebiten/internal/uidriver/glfw
Hajime Hoshi 7d56e4335e ui: Add RunGame, WindowSize and SetWindowSize
This change introduces the new APIs RunGame, WindowSize and
SetWindowSize. These new APIs hides the notion of 'scale', and is
more flexible with the outside size change. This means that we can
introduce a resizable window.

This change also adds -legacy flag to examples/windowsize. If the
flag is off, the new APIs are used.

This change deprecates these functions since the notion of 'scale'
is deprecated:

  * ScreenScale
  * ScreenSizeInFullscreen
  * SetScreenScale
  * SetScreenSize

Fixes #943, #571
Updates #320
2019-12-22 03:35:31 +09:00
..
hideconsole_notwindows.go Add uidriver package and move UI implementation to this packaage 2019-04-07 18:21:16 +09:00
hideconsole_windows.go Add uidriver package and move UI implementation to this packaage 2019-04-07 18:21:16 +09:00
input.go driver: Add UI.SetWindowSize and UIContext.Layout 2019-12-15 02:29:43 +09:00
keys.go input: driver.Key now distinguishes left/right modifier keys 2019-09-01 23:49:00 +09:00
ui_darwin.go uidriver: Remove width/height/scale arguments from run 2019-12-21 20:10:58 +09:00
ui_unix.go uidriver/glfw: Bug fix: Compile errors on Windows and Linux 2019-12-08 23:20:09 +09:00
ui_windows.go uidriver/glfw: Bug fix: Compile errors on Windows and Linux 2019-12-08 23:20:09 +09:00
ui.go ui: Add RunGame, WindowSize and SetWindowSize 2019-12-22 03:35:31 +09:00