Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
Classes | Enumerations
Window and monitor

Window and monitor. More...

Classes

class  gf::Clipboard
 An interface for getting and setting the contents of the system clipboard. More...
 
class  gf::Cursor
 A mouse cursor. More...
 
class  gf::Library
 A class to represent the library. More...
 
struct  gf::Library::Version
 Information about version. More...
 
struct  gf::VideoMode
 A video mode. More...
 
class  gf::Monitor
 A monitor. More...
 
class  gf::SharedGraphics
 A shared OpenGL context with the main thread. More...
 
class  gf::Window
 An OS window. More...
 

Enumerations

enum class  gf::WindowHints : uint32_t {
  gf::WindowHints::Resizable = 0x0001 ,
  gf::WindowHints::Visible = 0x0002 ,
  gf::WindowHints::Decorated = 0x0004
}
 Hints for window creation. More...
 
enum class  gf::EventFilter {
  gf::EventFilter::TouchAsMouse = 0x0001 ,
  gf::EventFilter::AnyWindow = 0x0002
}
 Filter for events. More...
 

Detailed Description

Window and monitor.

Enumeration Type Documentation

◆ EventFilter

enum class gf::EventFilter
strong

Filter for events.

Enumerator
TouchAsMouse 

Treat touch events as mouse events.

AnyWindow 

Grab events from any window, not just the created window.

◆ WindowHints

enum class gf::WindowHints : uint32_t
strong

Hints for window creation.

Enumerator
Resizable 

Is the window resizable?

Visible 

Is the window visible?

Decorated 

Is the window decorated?