reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofWindowSettings.h File Reference
#include "glm/vec2.hpp"
#include <string>

Go to the source code of this file.

Classes

class  ofWindowSettings
 
class  ofGLWindowSettings
 
class  ofGLESWindowSettings
 

Macros

#define GLM_FORCE_CTOR_INIT
 

Enumerations

enum  ofWindowMode { OF_WINDOW = 0 , OF_FULLSCREEN = 1 , OF_GAME_MODE = 2 }
 Used to represent the available windowing modes for the application. More...
 
enum  ofOrientation : short {
  OF_ORIENTATION_DEFAULT = 1 , OF_ORIENTATION_180 = 2 , OF_ORIENTATION_90_LEFT = 3 , OF_ORIENTATION_90_RIGHT = 4 ,
  OF_ORIENTATION_UNKNOWN = 5
}
 Used to represent the available screen orientations. More...
 

Macro Definition Documentation

◆ GLM_FORCE_CTOR_INIT

#define GLM_FORCE_CTOR_INIT

Enumeration Type Documentation

◆ ofOrientation

enum ofOrientation : short

Used to represent the available screen orientations.

These don't use "landscape" or "portrait", because phones typically default to portrait while desktop screens are typically landscape by default.

See also
ofSetOrientation
ofGetOrientation
Enumerator
OF_ORIENTATION_DEFAULT 

Represents the default screen orientation.

OF_ORIENTATION_180 

Represents a screen rotated 180 degrees, also known as upside-down.

OF_ORIENTATION_90_LEFT 

Represents a screen rotated 90 degrees clockwise.

OF_ORIENTATION_90_RIGHT 

Represents a screen rotated 90 degrees counter-clockwise.

OF_ORIENTATION_UNKNOWN 

Represents an unknown orientation.

◆ ofWindowMode

Used to represent the available windowing modes for the application.

Enumerator
OF_WINDOW 

A floating application window.

OF_FULLSCREEN 

A fullscreen application window.

OF_GAME_MODE 

A fullscreen application window with a custom width and height.