mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +08:00
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:
@@ -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);
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user