diff --git a/dgl/Widget.hpp b/dgl/Widget.hpp index a659046a..76610786 100644 --- 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 pos; Point absolutePos; - /** Constuctor */ + /** Constructor */ MouseEvent() noexcept : BaseEvent(), button(0), @@ -188,7 +188,7 @@ public: Point pos; Point absolutePos; - /** Constuctor */ + /** Constructor */ MotionEvent() noexcept : BaseEvent(), pos(0.0, 0.0), @@ -216,7 +216,7 @@ public: Point delta; ScrollDirection direction; - /** Constuctor */ + /** Constructor */ ScrollEvent() noexcept : BaseEvent(), pos(0.0, 0.0), @@ -235,7 +235,7 @@ public: Size size; Size oldSize; - /** Constuctor */ + /** Constructor */ ResizeEvent() noexcept : size(0, 0), oldSize(0, 0) {} @@ -251,7 +251,7 @@ public: Point pos; Point oldPos; - /** Constuctor */ + /** Constructor */ PositionChangedEvent() noexcept : pos(0, 0), oldPos(0, 0) {} diff --git a/dgl/Window.hpp b/dgl/Window.hpp index b6929c59..d1344669 100644 --- 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),