From e9e5f4bdb1dcd043aa9a60e15f3f6ed52a1c96e8 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 13 Apr 2024 21:47:14 +0200 Subject: Remove "MS" from "MS Windows" in docs code, and comments The system (platform) is called "Windows", "MS Windows" doesn't make much sense. I removed "MS" for consistency. --- documentation/src/common.dox | 17 ++++++----------- documentation/src/drawing.dox | 16 +++++++--------- documentation/src/preface.dox | 4 ++-- 3 files changed, 15 insertions(+), 22 deletions(-) (limited to 'documentation') diff --git a/documentation/src/common.dox b/documentation/src/common.dox index dcad4b1fe..c8536e095 100644 --- a/documentation/src/common.dox +++ b/documentation/src/common.dox @@ -168,17 +168,12 @@ widget's parent. \section common_colors Colors -FLTK stores the colors of widgets as an 32-bit unsigned -number that is either an index into a color palette of 256 -colors or a 24-bit RGB color. The color palette is \e not -the X or MS Windows colormap, but instead is an internal table with -fixed contents. - -See the -\ref drawing_colors -section of -\ref drawing -for implementation details. +FLTK stores the colors of widgets as a 32-bit unsigned number that is +either an index into a color palette of 256 colors (0 \<= color \<= 255) +or a 24-bit RGB color (color > 255). The color palette is \e not the +X or Windows colormap, but instead is an internal table with fixed contents. + +See the \ref drawing_colors section of \ref drawing for implementation details. There are symbols for naming some of the more common colors: diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 3a2ad42dd..89b1a6830 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -386,9 +386,8 @@ responsibility to set it back to the default with \par \b Note: -Because of how line styles are implemented on MS Windows systems, you -\e must set the line style \e after setting the drawing color. -If you set the +Because of how line styles are implemented on Windows systems, you \e must +set the line style \e after setting the drawing color. If you set the color after the line style you will lose the line style settings! \par @@ -511,7 +510,7 @@ void fl_pie(int x, int y, int w, int h, double a1, double a2) \par Draw ellipse sections using integer coordinates. These functions match the rather limited circle drawing code provided -by X and MS Windows. The advantage over using +by X and Windows. The advantage over using \ref drawing_fl_arc "fl_arc()" with floating point coordinates is that they are faster because they often use the @@ -555,11 +554,10 @@ with 2-D linear transformations. The functionality matches that found in the Adobe® PostScript&tm; language. The exact pixels that are filled are less defined than for the fast drawing functions so that FLTK can take advantage of drawing -hardware. On both X and MS Windows the transformed vertices are -rounded to integers before drawing the line segments: this -severely limits the accuracy of these functions for complex -graphics, so use OpenGL when greater accuracy and/or performance -is required. +hardware. On both X and Windows the transformed vertices are +rounded to integers before drawing the line segments: this severely +limits the accuracy of these functions for complex graphics, so use +OpenGL when greater accuracy and/or performance is required. void fl_load_matrix(double a,double b,double c,double d,double x,double y) void fl_load_identity() diff --git a/documentation/src/preface.dox b/documentation/src/preface.dox index f325c4dc8..67304fbd2 100644 --- a/documentation/src/preface.dox +++ b/documentation/src/preface.dox @@ -69,11 +69,11 @@ The X Window System version 11. \par Xlib The X Window System interface library. -\par MS Windows, WIN32 +\par Windows, WIN32 The Microsoft Windows Application Programmer's Interface for Windows 2000, Windows XP, Windows Vista, Windows 7 and later Windows versions. FLTK uses the preprocessor definition _WIN32 for the 32 bit -and 64 bit MS Windows API. +and 64 bit Windows API. \par OS X, __APPLE__ The Apple desktop operating sytem OS X 10.0 and later. MacOS 8 and 9 support -- cgit v1.2.3