Skip to content

Commit

Permalink
add a setting
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Mar 25, 2022
1 parent af12d75 commit 5e4ce2e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/OSWindow-SDL2/OSSDL2BackendWindow.class.st
Expand Up @@ -43,6 +43,18 @@ OSSDL2BackendWindow class >> screenScaleFactorBaseDPI: aNumber [
ScreenScaleFactorBaseDPI := aNumber
]

{ #category : #settings }
OSSDL2BackendWindow class >> settingsOn: aBuilder [
<systemsettings>

(aBuilder setting: #screenScaleFactorBaseDPI)
parent: #pharoSystem;
label: 'SDL2 Screen Scale Factor Base DPI';
description: 'Set the screen scale factore base DPI for SDL2.';
target: self;
default: 96.0
]

{ #category : #accessing }
OSSDL2BackendWindow >> borderless [
^ sdl2Window getFlags anyMask: SDL_WINDOW_BORDERLESS
Expand Down

0 comments on commit 5e4ce2e

Please sign in to comment.