← Back

ofxScreenSetup

github.com/armadillu/ofxScreenSetup · @armadillu
OF 0.12 Utilities

OF addon to control window / fullscreen different modes

18 4 Last commit 1d ago Created 12y ago

README

ofxScreenSetup



Build Status

OpenFrameworks addon to handle different window setups; easily switch between this modes for your window:

WINDOWED shows the native title bar and uses the configured base size and saved position. BORDERLESS_ONE_MONITOR_HALF_H also has a draggable title bar and starts centered on the primary display. The other modes are borderless. On macOS, a focused borderless window is raised above the menu bar and returns to its previous level on focus loss. The FULL_ and MONITOR_ modes size the window to the selected display bounds.

enum ScreenMode{
		FULL_ALL_MONITORS = 0,
		FULL_ONE_MONITOR,
		BORDERLESS_ONE_MONITOR_W,
		BORDERLESS_ONE_MONITOR_H,
		BORDERLESS_ONE_MONITOR_HALF_H,
		BORDERLESS_ALL_MONITORS_FIT_TO_W,
		BORDERLESS_ALL_MONITORS_FILL_COMMON_HEIGHT,
		BORDERLESS_NATIVE_SIZE,
		WINDOWED,
		MONITOR_2,
		MONITOR_3,
		MONITOR_4,
		NUM_SCREEN_MODES //NOT to be used
	};

Get this addon

HTTPS
SSH