commit 949e77980677673c1c1d481caa074e1762a242ca
parent c0ad83e8017885ed4e4bee64acd5405d85a8f0c0
Author: lucianoiam <oss@lucianoiam.com>
Date: Wed, 30 Jun 2021 10:50:46 +0200
Fix typos in DGL source comments (#295)
* Mute which output in generate-ttl.sh
* Rework bf156dd in a more efficient way
* Fix typos in DGL source comments
Diffstat:
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dgl/Widget.hpp b/dgl/Widget.hpp
@@ -66,7 +66,7 @@ public:
uint flags;
uint time;
- /** Constuctor */
+ /** Constructor */
BaseEvent() noexcept : mod(0x0), flags(0x0), time(0) {}
/** Destuctor */
virtual ~BaseEvent() noexcept {}
@@ -96,7 +96,7 @@ public:
uint key;
uint keycode;
- /** Constuctor */
+ /** Constructor */
KeyboardEvent() noexcept
: BaseEvent(),
press(false),
@@ -118,7 +118,7 @@ public:
bool press;
Key key;
- /** Constuctor */
+ /** Constructor */
SpecialEvent() noexcept
: BaseEvent(),
press(false),
@@ -145,7 +145,7 @@ public:
uint character;
char string[8];
- /** Constuctor */
+ /** Constructor */
CharacterInputEvent() noexcept
: BaseEvent(),
keycode(0),
@@ -168,7 +168,7 @@ public:
Point<double> pos;
Point<double> absolutePos;
- /** Constuctor */
+ /** Constructor */
MouseEvent() noexcept
: BaseEvent(),
button(0),
@@ -188,7 +188,7 @@ public:
Point<double> pos;
Point<double> absolutePos;
- /** Constuctor */
+ /** Constructor */
MotionEvent() noexcept
: BaseEvent(),
pos(0.0, 0.0),
@@ -216,7 +216,7 @@ public:
Point<double> delta;
ScrollDirection direction;
- /** Constuctor */
+ /** Constructor */
ScrollEvent() noexcept
: BaseEvent(),
pos(0.0, 0.0),
@@ -235,7 +235,7 @@ public:
Size<uint> size;
Size<uint> oldSize;
- /** Constuctor */
+ /** Constructor */
ResizeEvent() noexcept
: size(0, 0),
oldSize(0, 0) {}
@@ -251,7 +251,7 @@ public:
Point<int> pos;
Point<int> oldPos;
- /** Constuctor */
+ /** Constructor */
PositionChangedEvent() noexcept
: pos(0, 0),
oldPos(0, 0) {}
diff --git a/dgl/Window.hpp b/dgl/Window.hpp
@@ -87,14 +87,14 @@ public:
/** Whether to show list of places (bookmarks) */
ButtonState showPlaces;
- /** Constuctor for default values */
+ /** Constructor for default values */
Buttons()
: listAllFiles(kButtonVisibleChecked),
showHidden(kButtonVisibleUnchecked),
showPlaces(kButtonVisibleUnchecked) {}
} buttons;
- /** Constuctor for default values */
+ /** Constructor for default values */
FileBrowserOptions()
: startDir(nullptr),
title(nullptr),