summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-13 21:47:14 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-13 21:49:27 +0200
commite9e5f4bdb1dcd043aa9a60e15f3f6ed52a1c96e8 (patch)
tree59b5ea60bac8ecc0600f9a551b70eed8f24c3f26 /documentation
parenta6651e10ffc1753945faf8de0192cf74effc80d8 (diff)
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.
Diffstat (limited to 'documentation')
-rw-r--r--documentation/src/common.dox17
-rw-r--r--documentation/src/drawing.dox16
-rw-r--r--documentation/src/preface.dox4
3 files changed, 15 insertions, 22 deletions
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&reg; 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, <tt>WIN32</tt>
+\par Windows, <tt>WIN32</tt>
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 <tt>_WIN32</tt> for the 32 bit
-and 64 bit MS Windows API.
+and 64 bit Windows API.
\par OS X, <tt>__APPLE__</tt>
The Apple desktop operating sytem OS X 10.0 and later. MacOS 8 and 9 support