20#ifndef GAL_DISPLAY_OPTIONS_H__
21#define GAL_DISPLAY_OPTIONS_H__
32#if defined( _MSC_VER )
33#pragma warning( push )
34#pragma warning( disable : 4275 )
70 class GAL_DISPLAY_OPTIONS;
120 void NotifyChanged();
125#if defined( _MSC_VER )
126#pragma warning( pop )
virtual void OnGalDisplayOptionsChanged(const GAL_DISPLAY_OPTIONS &)=0
virtual ~GAL_DISPLAY_OPTIONS_OBSERVER()
CROSS_HAIR_MODE GetCursorMode() const
CROSS_HAIR_MODE m_crossHairMode
Force cursor display.
double m_gridLineWidth
Minimum pixel distance between displayed grid lines.
double m_gridMinSpacing
Whether or not to draw the coordinate system axes.
GAL_ANTIALIASING_MODE antialiasing_mode
The grid style to draw the grid in.
bool m_forceDisplayCursor
The pixel scale factor (>1 for hi-DPI scaled displays)
KIGFX::GRID_STYLE m_gridStyle
Snapping options for the grid.
void SetCursorMode(CROSS_HAIR_MODE aMode)
bool m_axesEnabled
Crosshair drawing mode.
virtual ~GAL_DISPLAY_OPTIONS()
GRID_SNAPPING m_gridSnapping
Thickness to render grid lines/dots.
The Cairo implementation of the graphics abstraction layer.
GRID_STYLE
Type definition of the grid style.
@ SMALL_CROSS
Use small cross instead of dots for the grid.
@ DOTS
Use dots for the grid.
@ LINES
Use lines for the grid.
Store the common settings that are saved and loaded for each window / frame.