… | |
… | |
1335 | $ntb->add ( |
1335 | $ntb->add ( |
1336 | "Stats & Skills" => $STATS_PAGE = stats_window, |
1336 | "Stats & Skills" => $STATS_PAGE = stats_window, |
1337 | "Shows statistics and skill window, where all your Stats, Resistances and Skills are shown." |
1337 | "Shows statistics and skill window, where all your Stats, Resistances and Skills are shown." |
1338 | ); |
1338 | ); |
1339 | $ntb->add ( |
1339 | $ntb->add ( |
1340 | Spells => $SPELL_PAGE = new CFClient::UI::SpellList, |
1340 | Spellbook => $SPELL_PAGE = new CFClient::UI::SpellList, |
1341 | "Displays all spells you have and lets you edit keyboard shortcuts for them." |
1341 | "Displays all spells you have and lets you edit keyboard shortcuts for them." |
1342 | ); |
1342 | ); |
1343 | $ntb->add ( |
1343 | $ntb->add ( |
1344 | Inventory => $INVENTORY_PAGE = inventory_widget, |
1344 | Inventory => $INVENTORY_PAGE = inventory_widget, |
1345 | "Toggles the inventory window, where you can manage your loot (or treasures :). " |
1345 | "Toggles the inventory window, where you can manage your loot (or treasures :). " |
… | |
… | |
1469 | y => 'center', |
1469 | y => 'center', |
1470 | z => 2, |
1470 | z => 2, |
1471 | name => 'doc_browser', |
1471 | name => 'doc_browser', |
1472 | force_w => int $WIDTH * 7/8, |
1472 | force_w => int $WIDTH * 7/8, |
1473 | force_h => int $HEIGHT * 7/8, |
1473 | force_h => int $HEIGHT * 7/8, |
1474 | title => "Documentation"; |
1474 | title => "Help Browser", |
|
|
1475 | has_close_button => 1; |
1475 | |
1476 | |
1476 | $win->add (my $vbox = new CFClient::UI::VBox); |
1477 | $win->add (my $vbox = new CFClient::UI::VBox); |
1477 | |
1478 | |
1478 | $vbox->add (my $buttons = new CFClient::UI::HBox); |
1479 | $vbox->add (my $buttons = new CFClient::UI::HBox); |
1479 | $vbox->add (my $viewer = new CFClient::UI::TextScroller |
1480 | $vbox->add (my $viewer = new CFClient::UI::TextScroller |
… | |
… | |
1656 | $BUTTONBAR->add (new CFClient::UI::Flopper text => "Message Window", other => $MESSAGE_WINDOW = message_window, |
1657 | $BUTTONBAR->add (new CFClient::UI::Flopper text => "Message Window", other => $MESSAGE_WINDOW = message_window, |
1657 | tooltip => "Toggles the server message log, where the client collects <i>all</i> messages from the server."); |
1658 | tooltip => "Toggles the server message log, where the client collects <i>all</i> messages from the server."); |
1658 | |
1659 | |
1659 | make_gauge_window->show; # XXX: this has to be set before make_stats_window as make_stats_window calls update_stats_window which updated the gauges also X-D |
1660 | make_gauge_window->show; # XXX: this has to be set before make_stats_window as make_stats_window calls update_stats_window which updated the gauges also X-D |
1660 | |
1661 | |
1661 | $BUTTONBAR->add (new CFClient::UI::Flopper text => "Player", other => player_window, |
1662 | $BUTTONBAR->add (new CFClient::UI::Flopper text => "Playerbook", other => player_window, |
1662 | tooltip => "Toggles the player view, where you can manage Inventory, Spells, Skills and see your Stats."); |
1663 | tooltip => "Toggles the player view, where you can manage Inventory, Spells, Skills and see your Stats."); |
1663 | |
1664 | |
1664 | $BUTTONBAR->add (new CFClient::UI::Button |
1665 | $BUTTONBAR->add (new CFClient::UI::Button |
1665 | text => "Save Config", |
1666 | text => "Save Config", |
1666 | tooltip => "Saves the options chosen in the client setting, server settings and the window layout to be restored on later runs.", |
1667 | tooltip => "Saves the options chosen in the client setting, server settings and the window layout to be restored on later runs.", |