Commit graph

1878 commits

Author SHA1 Message Date
Charles Dang
838c0e0a09 Renamed title_screen panel definition and added a blur-less version 2016-09-11 18:53:47 +11:00
Charles Dang
eaf5ef96ed Buttons: refactored procedural drawing to avid alpha-corner hack
That hacked stopped being a thing in e993e2820b
2016-09-10 21:44:28 +11:00
Charles Dang
da2027c274 MP Create: added framework for background images 2016-09-10 08:54:24 +11:00
Charles Dang
7ade61cfc2 Load widgets before dialogs
This allows any defined we want global in widgets to be used in dialog.
2016-09-10 08:52:15 +11:00
Charles Dang
b07810608a Renamed the mp_chatbox widget simply "chatbox" 2016-09-09 08:25:04 +11:00
Charles Dang
765f0bfc6a Moved chatbox code to its own file and updates schema 2016-09-09 07:47:02 +11:00
gfgtdf
1c2bb78d15 add mp chatbox widget
to be used in mp lobbay and mp connect.
2016-09-08 22:14:45 +02:00
Charles Dang
276047ce96 Preferences Dialog: tweaked some labels in Friends List view 2016-09-08 10:31:18 +11:00
Charles Dang
969018f7df MP Create: make use of window exit hook for showing the difficulty dialog 2016-09-08 10:30:07 +11:00
Charles Dang
6f510ad07d Forgot to commit some WML for 5ee75aa473 2016-09-07 17:46:58 +11:00
Charles Dang
717aa892d2 Preferences Dialog: extensive refactor 2016-09-07 12:23:36 +11:00
Celtic Minstrel
758315f533 Enable GUI2 themes 2016-09-05 13:43:58 -04:00
Charles Dang
56e8222bb0 Converted Generator Settings dialog to GUI2 2016-09-03 12:41:29 +11:00
Charles Dang
601f217ca2 SP Configure Options: increase max height 2016-09-02 13:17:29 +11:00
Charles Dang
fd53599f77 Moved custom_options_tree.cfg to a better location
Also fixed its linked_groups not being included in sp_options_configure.cfg
2016-09-02 10:18:38 +11:00
Charles Dang
faed98a651 Added standalone options configuration dialog for GUI2 2016-09-02 09:28:30 +11:00
Charles Dang
b1e97e68e2 Game Stats: use list_data for tab bar 2016-09-02 00:14:48 +11:00
Charles Dang
75d60ca184 Game Load: ensure game list toggle panel grows to fill space horizontally
This matches the behavior of all other toggle_panel-based listbox usecases.
2016-09-01 22:46:12 +11:00
Charles Dang
db2381806d MP Lobby: enable game list horizontal scrollbar for now
Until we figure out what to do about the list of mods possibly being too long,
this prevents window scrollbars.
2016-09-01 15:16:49 +11:00
Charles Dang
f3e63ebc96 MP Lobby: added Replay Options combobox to small resolution layout 2016-09-01 13:12:16 +11:00
Celtic Minstrel
3ff03cc66b Fix matrix placement policy (mostly) 2016-08-31 20:59:57 -04:00
Celtic Minstrel
8b839e88ad Fix MP Create on smaller resolutions 2016-08-31 20:59:57 -04:00
Charles Dang
4308baac80 MP Create: hide Mods header if none are available 2016-09-01 07:11:28 +11:00
Charles Dang
8c68d2a253 MP Lobby: few subtle layout improvements 2016-09-01 05:38:24 +11:00
Charles Dang
b726e9fe1d MP Lobby: improved game row layout
This includes adding a section for active Modifications as the GUI1 lobby does
2016-09-01 00:41:31 +11:00
Charles Dang
14c44d0ea9 Load Game: fixed game list being empty with long filenames on small resolutions
For some reason, without horizontal_scrollbar_mode = "never", the game didn't utilize the
window scrollbar and instead simply failed to place the listbox content grid. This resolves that,
as well as reducing the the filename truncate size so names fit fine on 800x600 without said
window scrollbar. Also, it ensures a horizontal scrollbar won't appear in the leaders list.
2016-08-30 21:43:35 +11:00
Charles Dang
7baf9587ad MP Lobby: implement all replay view options 2016-08-30 11:11:39 +11:00
Charles Dang
e5cbc0cb7b Player Info: removed an invalidate_layout call 2016-08-30 07:28:18 +11:00
Charles Dang
5c2792556d Player Info: reworked layout 2016-08-30 06:45:13 +11:00
Charles Dang
0bbe26ec5e Made use of [list_data] for static lists in various dialogs 2016-08-29 19:10:04 +11:00
Charles Dang
0bc5e2ba4a Removed listbox toggle button definitions
A toggle_panel should be used instead
2016-08-29 18:41:05 +11:00
Charles Dang
6da41bffbe MP Method Selection: use a proper toggle panel for list 2016-08-29 18:32:18 +11:00
Celtic Minstrel
61aa9df286 Add hotkey categories filter to preferences
This allows the user to filter out certain types of hotkeys,
making it easier to locate a specific hotkey.
2016-08-29 01:05:02 -04:00
Celtic Minstrel
d99bea9651 Allow [list_data] to be used for listbox toggle-panels 2016-08-29 01:05:02 -04:00
Celtic Minstrel
82153b1da8 Implement new grid_listbox widget 2016-08-29 01:05:02 -04:00
Celtic Minstrel
943c1bdd57 Support has_minimum/has_maximum in horizontal listboxes 2016-08-29 01:05:02 -04:00
Charles Dang
f338c48863 Depcheck Dialog: use a toggle panel for the listbox 2016-08-29 12:55:19 +11:00
Charles Dang
898d98ab8d Split image widget into two definitions, default and centered (redo of d2191297c5) 2016-08-29 07:26:12 +11:00
Charles Dang
d2191297c5 Image: center drawn image on available space 2016-08-29 05:38:01 +11:00
Charles Dang
3d59b753c9 Drop Down List: provided a reasonable max height 2016-08-29 05:35:38 +11:00
Charles Dang
2bffd4af56 Convert Select Faction (FLG) dialog to GUI2 2016-08-29 05:33:15 +11:00
Charles Dang
d6cff9b089 MP Create: display game title in details area 2016-08-28 03:41:17 +11:00
Celtic Minstrel
201abc9d7e Make title screen rebuild its layout when the window is resized
This also restores one of the two reverted title screen tweaks.
2016-08-25 15:58:17 -04:00
Celtic Minstrel
b1141fe457 Allow the WML message dialog to show a portrait on both sides 2016-08-25 15:57:45 -04:00
Charles Dang
ca58a6b7c3 Load Game: display all human-controlled leaders
This also includes a fix for leader images sometimes not being shown in the dialog.
If the save_index was deleted or altered at a time other than when creating a save,
the image path would be empty in the game load dialog. This ensures the image path
is only saved in binary-path independent form if the path isn't empty. In that case,
the plain image path from the savefile is saved. Either way, the image path is checked
in-dialog, first plain, then as binary-path independent. If both fail, a fallback image
is shown.
2016-08-25 22:33:33 +11:00
Charles Dang
1701031e1b Partially revert "Tweaks to the title screen, mainly for 800x600"
This reverts commit 2cde73888c.
2016-08-25 21:05:11 +11:00
Celtic Minstrel
2cde73888c Tweaks to the title screen, mainly for 800x600
Also:
- Hide cores button if there are no addon cores installed
- Remove "failsafe" core since it didn't work as advertised
2016-08-25 04:36:50 -04:00
Celtic Minstrel
136f5a864f Minor title screen cleanup 2016-08-25 04:36:50 -04:00
Charles Dang
27f8bbebb7 MP Create: add tooltip to Password field 2016-08-25 15:59:28 +11:00
Celtic Minstrel
824655c67f Fix first menuitem being outlined in all menus 2016-08-24 14:54:53 -04:00