Expand description
Helpers for zooming the whole GUI of an app (changing Context::pixels_per_point).
ModulesΒ§
- kb_
shortcuts - The suggested keyboard shortcuts for global gui zooming.
ConstantsΒ§
- MAX_
ZOOM_ πFACTOR - MIN_
ZOOM_ πFACTOR
FunctionsΒ§
- zoom_in
- Make everything larger by increasing
Context::zoom_factor. - zoom_
menu_ buttons - Show buttons for zooming the ui.
- zoom_
out - Make everything smaller by decreasing
Context::zoom_factor. - zoom_
with_ πkeyboard - Let the user scale the GUI (change
Context::zoom_factor) by pressing Cmd+Plus, Cmd+Minus or Cmd+0, just like in a browser.