Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@telenet.be>2020-07-18 17:20:32 +0200
committerStijn Buys <ingar@telenet.be>2020-07-18 17:20:32 +0200
commit41ec4ed68571091f2e2500344a7aeb527a91dc92 (patch)
tree29584f1f2f949e73da749d2e2504799519a1c21a /src/client/gamewindow.cc
parentb19afea9427dde861c990236ab11e23edfeb267c (diff)
Added standard close button widget class, added tooltips where approriate.
Diffstat (limited to 'src/client/gamewindow.cc')
-rw-r--r--src/client/gamewindow.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/gamewindow.cc b/src/client/gamewindow.cc
index 0b39cea..139755f 100644
--- a/src/client/gamewindow.cc
+++ b/src/client/gamewindow.cc
@@ -54,20 +54,20 @@ GameWindow::GameWindow(ui::Widget *parent) : ui::Window(parent)
gamewindow_chat = new Chat(this);
// icon buttons
- gamewindow_menubutton = new ui::IconButton(this, "bitmaps/icons/button_menu", "ui_menu");
-
- gamewindow_launchbutton = new ui::IconButton(this, "bitmaps/icons/button_launch", "launch");
+ gamewindow_menubutton = new ui::IconButton(this, "bitmaps/icons/button_menu", "Menu", "ui_menu");
+ gamewindow_launchbutton = new ui::IconButton(this, "bitmaps/icons/button_launch", "Launch", "launch");
+ gamewindow_freeflightbutton = new ui::IconButton(this, "bitmaps/icons/button_freeflight", "Cancel Autopilot", "freeflight");
- gamewindow_freeflightbutton = new ui::IconButton(this, "bitmaps/icons/button_freeflight", "freeflight");
- gamewindow_gotobutton = new TargetIconButton(this, "bitmaps/icons/button_goto", "goto");
- gamewindow_dockbutton = new TargetIconButton(this, "bitmaps/icons/button_dock", "dock", core::Entity::Dockable);
- gamewindow_formationbutton = new TargetIconButton(this, "bitmaps/icons/button_formation", "formation");
+ gamewindow_gotobutton = new TargetIconButton(this, "bitmaps/icons/button_goto", "Goto", "goto");
+ gamewindow_dockbutton = new TargetIconButton(this, "bitmaps/icons/button_dock", "Dock", "dock", core::Entity::Dockable);
+ gamewindow_formationbutton = new TargetIconButton(this, "bitmaps/icons/button_formation", "Formation", "formation");
+ gamewindow_formationbutton->set_tooltip("Formation");
- gamewindow_homebutton = new ui::IconButton(this, "bitmaps/icons/button_home", "view main");
- gamewindow_chatbutton = new ui::IconButton(this, "bitmaps/icons/button_chat", "ui_chat");
- gamewindow_mapbutton = new ui::IconButton(this, "bitmaps/icons/button_map", "ui_map");
- gamewindow_inventorybutton = new ui::IconButton(this, "bitmaps/icons/button_ship", "ui_inventory");
- gamewindow_reputationbutton = new ui::IconButton(this, "bitmaps/icons/button_reputation", "ui_reputation");
+ gamewindow_homebutton = new ui::IconButton(this, "bitmaps/icons/button_home", "Home", "view main");
+ gamewindow_chatbutton = new ui::IconButton(this, "bitmaps/icons/button_chat", "Chat", "ui_chat");
+ gamewindow_mapbutton = new ui::IconButton(this, "bitmaps/icons/button_map", "Map", "ui_map");
+ gamewindow_inventorybutton = new ui::IconButton(this, "bitmaps/icons/button_ship", "Inventory", "ui_inventory");
+ gamewindow_reputationbutton = new ui::IconButton(this, "bitmaps/icons/button_reputation", "Reputation", "ui_reputation");
}
GameWindow::~GameWindow()