Commit graph

1878 commits

Author SHA1 Message Date
Celtic Minstrel
2cad49162d MP Create: Fix a few issues on 800x600 layout 2016-08-24 14:54:53 -04:00
Charles Dang
379d4ea17b Cleaned up remaining file for removed dialog
Dialog was removed in 871aadca1a
2016-08-25 03:22:29 +11:00
Charles Dang
9579b89522 Dropdown List: renamed label_right to details and made it align left 2016-08-25 00:44:03 +11:00
Charles Dang
6d39cffe14 Menu Button: increase min width
This serves the immediate purpose of making the Resolutions Menu Button in Prefs equal the size of
its dropdown, but it also ensures there's more space for lists with small initial entries but longer
choices. Obviously, horizontal_grow = true could be used in any dialogs where this is a case, but this
provides a safer minimum should that not be desired.
2016-08-25 00:12:05 +11:00
Charles Dang
7d76d48628 Dropdown List: further layout improvements 2016-08-25 00:05:27 +11:00
Charles Dang
7d7d3f9508 Dropdown List: Few layout tweaks 2016-08-24 20:00:10 +11:00
Charles Dang
deaae3f382 MP Create: layout improvements for tiny version 2016-08-24 18:53:46 +11:00
Celtic Minstrel
8699ad0a05 Use GUI2 for game menus
There are still a few minor glitches with the implementation:
- The first menu-item is always outlined, as if selected
- Submenus appear at the mouse click location instead of anchored to their item
- The editor groups menu may cover up its button, due to the menu not knowing the size of the button
2016-08-24 02:26:21 -04:00
Celtic Minstrel
44219de141 MP Create: Layout for tiny resolutions (eg 800x600) 2016-08-23 19:27:27 -04:00
Celtic Minstrel
aefe945218 GUI2 dialogs: Fix missing textdomains 2016-08-23 18:51:27 -04:00
Celtic Minstrel
4e6787639a GUI2 schema: fixup indentation 2016-08-23 18:50:55 -04:00
Charles Dang
711dbdbc48 Load Game: reorganized details panel 2016-08-23 14:07:19 +11:00
Charles Dang
ff06bf8eb7 MP Create: few small fixes to mid-res layout 2016-08-23 13:40:23 +11:00
Celtic Minstrel
617a12f3e6 MP Create: Low-res fixup 2016-08-22 22:00:24 -04:00
Celtic Minstrel
f396249800 MP Create: New layout for lower resolutions 2016-08-22 21:55:28 -04:00
Celtic Minstrel
2c04ee6da6 MP Create: Another batch of WML shifting to ease implementation of low-res layout 2016-08-22 21:38:02 -04:00
Celtic Minstrel
23017d2f72 MP Create: More WML shifting to ease impementation of low-res layout 2016-08-22 21:12:52 -04:00
Celtic Minstrel
d604246a1a MP Create: Add spacer line above tabbed section 2016-08-22 20:19:53 -04:00
Celtic Minstrel
b79a237f35 MP Create: Move WML around for easier definition of low-res versions 2016-08-22 20:15:54 -04:00
Celtic Minstrel
396f5dfc4c Rename combobox -> menu_button 2016-08-22 19:37:14 -04:00
Charles Dang
0a94e68484 Used minimum_value_label for player number filter slider 2016-08-23 01:08:07 +11:00
Charles Dang
cd4c87ed6b MP Create: few more tweaks 2016-08-21 14:57:32 +11:00
Charles Dang
e2631f5322 MP Create: bunch of bug fixes and QoL improvements 2016-08-21 02:23:52 +11:00
Charles Dang
fae6da9ad1 MP Lobby: added a game status icon for Registered Users Only 2016-08-20 22:18:48 +11:00
Charles Dang
b672c24ccb Gamestate Inspector: further design improvements 2016-08-20 21:56:22 +11:00
Celtic Minstrel
d5a78dfcd0 Redesign gamestate inspector window 2016-08-20 02:52:11 -04:00
Celtic Minstrel
f5acf47a19 Rename indention -> indentation 2016-08-20 02:52:11 -04:00
Charles Dang
da561512a4 MP Create: implemented most remaining functionality 2016-08-19 21:34:20 +11:00
Charles Dang
369cabc9ae Use standard label definitions for scroll labels
These were simply copies of their respective label definitions, so this reduces the WML slightly.
This also renames the 'scroll_label_mono' definition, since there's no reason a label couldn't use it,
and this makes that clearer.
2016-08-19 17:45:17 +11:00
Charles Dang
8aa82bd4c3 MP Create: allow description area to grow to fill available height 2016-08-19 17:34:29 +11:00
Charles Dang
90c3c05af4 MP Create: improved handling of campaign difficulty selection
Instead of showing the difficulty dialog in post_show and setting the retval to twindow::NONE if the
dialog was canceled, we add a custom exit hook that fires when double clicking the games list or pressing
the Create Game button that shows the dialog instead, and returns if canceled. This is much cleaner.
2016-08-19 12:33:00 +11:00
Charles Dang
835bfa646f Unit Attack: reduced weapon label size and disabled max width (bug #24988) 2016-08-19 08:10:57 +11:00
Charles Dang
245a7cc3d5 Updated schema for 119e095ccd 2016-08-18 17:33:28 +11:00
Charles Dang
119e095ccd Added support for icons/entry tooltips in drop down dialogs/comboboxes
It now works on a vector of configs, meaning it's easy to add new data to entries
2016-08-18 17:20:14 +11:00
Charles Dang
adeefd7248 Unit Attack: don't allow range column to grow so much 2016-08-18 15:25:55 +11:00
Charles Dang
e33e9b1d32 MP Create: implemented a bunch more functionality 2016-08-18 03:34:27 +11:00
Charles Dang
a99e984f42 MP Create: fixed some issues with displaying custom options 2016-08-17 22:40:38 +11:00
Charles Dang
306fa1744f MP Create: work on showing custom options for eras and mods 2016-08-17 21:52:31 +11:00
Charles Dang
425ad0acd5 MP Lobby: few small layout tweaks 2016-08-17 13:42:05 +11:00
Charles Dang
483fda8638 MP Lobby: few layout fixes for the low-res version 2016-08-17 11:33:54 +11:00
Charles Dang
32451f2245 MP Lobby: layout improvements and cleanup 2016-08-17 01:08:42 +11:00
Charles Dang
d9b6bd7fa1 MP Player Info: layout improvements 2016-08-17 00:46:18 +11:00
Charles Dang
b58a6de578 Fixed description_small scroll labels not working 2016-08-17 00:00:04 +11:00
Charles Dang
a9116a7ed5 Don't scale toggle button icons if they're smaller than the button size 2016-08-17 00:00:01 +11:00
Charles Dang
0fd26b9dc7 Few small improvements 2016-08-16 23:59:58 +11:00
Charles Dang
e31615b687 MP Create: bunch of WIP stuff 2016-08-16 01:11:17 +11:00
Charles Dang
156ac4cf93 Revert "timage: allowed use of width/height keys for specific image size"
This reverts commit 05340bb81f.
2016-08-15 14:30:49 +11:00
Charles Dang
338fd6e00c Mp Create: further progress 2016-08-15 02:31:58 +11:00
Charles Dang
2c6b4b9ee9 Gray out borders of a disabled combobox 2016-08-15 02:31:15 +11:00
Charles Dang
05340bb81f timage: allowed use of width/height keys for specific image size 2016-08-15 00:02:48 +11:00