diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-01-31 15:48:21 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-01-31 15:48:21 +0100 |
| commit | f93b825b08fd848d793bd65f9a87d7f99b5df8b8 (patch) | |
| tree | b2bb9cccf31fc4bcd21b9a3b11ea68285a4adace /src/Fl_Screen_Driver.H | |
| parent | 65a798f9a237f149d5c320697440fd9cb030f460 (diff) | |
Update Fl::keyboard_screen_scaling()
- make the internal variable static
- make it callable after fl_open_display()
- document that it's currently only usable to switch scaling off
Diffstat (limited to 'src/Fl_Screen_Driver.H')
| -rw-r--r-- | src/Fl_Screen_Driver.H | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H index 0b693f95b..b7bb6df83 100644 --- a/src/Fl_Screen_Driver.H +++ b/src/Fl_Screen_Driver.H @@ -3,17 +3,17 @@ // // All screen related calls in a driver style class. // -// Copyright 1998-2018 by Bill Spitzak and others. +// Copyright 1998-2020 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // -// http://www.fltk.org/str.php +// https://www.fltk.org/str.php // /** @@ -63,10 +63,10 @@ protected: int num_screens; static float fl_intersection(int x1, int y1, int w1, int h1, - int x2, int y2, int w2, int h2); + int x2, int y2, int w2, int h2); public: - bool keyboard_screen_scaling; // true means ctrl/+/-/0/ resize windows + static int keyboard_screen_scaling; // true means ctrl/+/-/0/ resize windows static char bg_set; static char bg2_set; static char fg_set; |
