gal: make the cursor a bit bigger and hidden by default

This commit is contained in:
tomasz.wlostowski@cern.ch 2013-09-18 13:13:03 +02:00
parent 886a3e937a
commit d8480e4674
2 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@ GAL::GAL() :
// Initialize the cursor shape // Initialize the cursor shape
SetCursorColor( COLOR4D( 1.0, 1.0, 1.0, 1.0 ) ); SetCursorColor( COLOR4D( 1.0, 1.0, 1.0, 1.0 ) );
SetCursorSize( 15 ); SetCursorSize( 80 );
SetCursorEnabled( true ); SetCursorEnabled( false );
strokeFont.LoadNewStrokeFont( newstroke_font, newstroke_font_bufsize ); strokeFont.LoadNewStrokeFont( newstroke_font, newstroke_font_bufsize );
} }

View File

@ -82,7 +82,7 @@ OPENGL_GAL::OPENGL_GAL( wxWindow* aParent, wxEvtHandler* aMouseListener,
SetSize( aParent->GetSize() ); SetSize( aParent->GetSize() );
screenSize = VECTOR2D( aParent->GetSize() ); screenSize = VECTOR2D( aParent->GetSize() );
initCursor( 20 ); initCursor( 80 );
// Grid color settings are different in Cairo and OpenGL // Grid color settings are different in Cairo and OpenGL
SetGridColor( COLOR4D( 0.8, 0.8, 0.8, 0.1 ) ); SetGridColor( COLOR4D( 0.8, 0.8, 0.8, 0.1 ) );