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
This commit is contained in:
Albrecht Schlosser
2020-01-31 15:48:21 +01:00
parent 65a798f9a2
commit f93b825b08
4 changed files with 30 additions and 18 deletions
+4 -4
View File
@@ -3,17 +3,17 @@
//
// Main header file for the Fast Light Tool Kit (FLTK).
//
// 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
//
/** \file
@@ -1037,7 +1037,7 @@ int main() {
static float screen_scale(int n); // via screen driver
static void screen_scale(int n, float factor); // via screen driver
static int screen_scaling_supported();
static void keyboard_screen_scaling(int);
static void keyboard_screen_scaling(int value);
/** @} */