Browse Source

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
pull/297/head
lucianoiam GitHub 4 years ago
parent
commit
949e779806
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions
  1. +9
    -9
      dgl/Widget.hpp
  2. +2
    -2
      dgl/Window.hpp

+ 9
- 9
dgl/Widget.hpp View File

@@ -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) {}


+ 2
- 2
dgl/Window.hpp View File

@@ -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),


Loading…
Cancel
Save