summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-09 18:16:43 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-09 18:28:37 +0100
commit0f3b5ded8fad8c0bf7c462fc360174f4a2080e14 (patch)
treeab040846009fed45f6807483c17498b15272e184 /src/drivers/GDI/Fl_GDI_Graphics_Driver.H
parente18ce5400f2ae666a0783e5b7399169b95ff7b54 (diff)
Fix dependencies, typos, trailing whitespace, and formatting
No code changes.
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.H')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.H16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H
index 941ac4db1..13ac8f750 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H
@@ -2,7 +2,7 @@
// Definition of classes Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device
// for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2010-2022 by Bill Spitzak and others.
+// Copyright 2010-2023 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
@@ -182,16 +182,16 @@ private:
Gdiplus::Color gdiplus_color_;
Gdiplus::Pen *pen_;
Gdiplus::SolidBrush *brush_;
- // The code below ensures the a connection to GDIplus is only made once, and that the
+ // The code below ensures that a connection to GDIplus is only made once, and that the
// matching connection shutdown is also done exactly once.
enum {
- STATE_CLOSED = 0, // no connection, token is invalid
- STATE_STARTUP, // attempt to start up, avoid recursions for whatever reason
- STATE_OPEN, // connection was successful and the token is valid
- STATE_SHUTDOWN // shutting down the gdi connection, avoid possible recursion
+ STATE_CLOSED = 0, // no connection, token is invalid
+ STATE_STARTUP, // attempt to start up, avoid recursions for whatever reason
+ STATE_OPEN, // connection was successful and the token is valid
+ STATE_SHUTDOWN // shutting down the gdi connection, avoid possible recursion
};
- static int gdiplus_state_; // reflect the state of the GDIplus driver connection
- static ULONG_PTR gdiplus_token_; // the token that GDIplus gives to us
+ static int gdiplus_state_; // reflect the state of the GDIplus driver connection
+ static ULONG_PTR gdiplus_token_; // the token that GDIplus gives to us
public:
Fl_GDIplus_Graphics_Driver();
virtual ~Fl_GDIplus_Graphics_Driver();