aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/PopUpWidget.cpp2
-rw-r--r--gui/ScrollBarWidget.cpp2
-rw-r--r--gui/dialog.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/gui/PopUpWidget.cpp b/gui/PopUpWidget.cpp
index acdc0feae6..127a3ec9c5 100644
--- a/gui/PopUpWidget.cpp
+++ b/gui/PopUpWidget.cpp
@@ -251,7 +251,7 @@ void PopUpDialog::drawMenuEntry(int entry, bool hilite) {
g_gui.fillRect(x, y, w, kLineHeight, hilite ? g_gui._textcolorhi : g_gui._bgcolor);
if (name.size() == 0) {
- // Draw a seperator
+ // Draw a separator
g_gui.hLine(x - 1, y + kLineHeight / 2, x + w, g_gui._shadowcolor);
g_gui.hLine(x, y + 1 + kLineHeight / 2, x + w, g_gui._color);
} else {
diff --git a/gui/ScrollBarWidget.cpp b/gui/ScrollBarWidget.cpp
index 16ef59f115..287f058303 100644
--- a/gui/ScrollBarWidget.cpp
+++ b/gui/ScrollBarWidget.cpp
@@ -166,7 +166,7 @@ void ScrollBarWidget::handleTickle() {
/*
// FIXME/TODO - this code is supposed to allow for "click-repeat" (like key repeat),
// i.e. if you click on one of the arrows and keep clicked, it will scroll
- // continously. However, just like key repeat, this requires two delays:
+ // continuously. However, just like key repeat, this requires two delays:
// First an "initial" delay that has to pass before repeating starts (otherwise
// it is near to impossible to achieve single clicks). Secondly, a repeat delay
// that determines how often per second a click is simulated.
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index 58d308795b..2cd6848d0b 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -205,7 +205,7 @@ void Dialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
}
void Dialog::handleKeyUp(uint16 ascii, int keycode, int modifiers) {
- // Focused widget recieves keyup events
+ // Focused widget receives keyup events
if (_focusedWidget)
_focusedWidget->handleKeyUp(ascii, keycode, modifiers);
}
@@ -250,7 +250,7 @@ void Dialog::handleMouseMoved(int x, int y, int button) {
}
void Dialog::handleTickle() {
- // Focused widget recieves tickle notifications
+ // Focused widget receives tickle notifications
if (_focusedWidget && _focusedWidget->getFlags() & WIDGET_WANT_TICKLE) {
_focusedWidget->handleTickle();
}