Commit graph

1878 commits

Author SHA1 Message Date
Charles Dang
6a28eff9db Tooltips: subtle blue tint 2016-10-07 16:49:35 +11:00
Charles Dang
726100e9c2 Few further tweaks and cleanup for e76db219ac 2016-10-07 10:49:18 +11:00
Charles Dang
e76db219ac Tooltips: improved design yet again 2016-10-07 10:11:02 +11:00
Charles Dang
87f1f05677 MP Staging, MP Join Game: made side numbers really big 2016-10-06 21:22:19 +11:00
Charles Dang
147caf83cc GUI2: some formula formatting cleanups 2016-10-05 19:34:28 +11:00
Charles Dang
f7100f2315 File Dialog: more sensible size 2016-10-05 18:22:42 +11:00
Charles Dang
bf1c038882 File Dialog: used fixed-size window instead of dynamic 2016-10-05 17:47:57 +11:00
Ignacio R. Morelle
0f83718965 gui2/tfile_dialog: Set maximum dialog height 2016-10-05 03:06:43 -03:00
Ignacio R. Morelle
409b61f5be gui2/tfile_dialog: We can delete folders too 2016-10-05 03:06:43 -03:00
Ignacio R. Morelle
6e1f6bb686 gui2/tfile_dialog: Initial port of the filechooser dialog to GUI2
This provides, as far as I can tell, all the filechooser functionality
that is actually in use in Open File mode except for the "type-ahead"
option that is used to set filename extension hints.

There's some newly-introduced border cases courtesy of Boost.Filesystem
that I really feel we shouldn't worry about for now:

 * // is handled weirdly thanks to BFS honoring the POSIX provision for
   implementation-defined behavior regarding it.
 * UNCs on Windows are not supported. Just like in mostly everywhere
   else in Wesnoth. Same applies to \\.\, \\?\ and \??\.
 * Non-directory path components on Windows are not handled very
   gracefully (particularly obvious with volumes mounted as NTFS
   junction points, or symbolic links for the Documents folder on
   Wine) due to quirks in BFS's path::canonical() method and how it
   relies on dereferencing individual path components to resolve dot
   entries.

Haven't tested all callers yet, they are still using the original
filechooser entry points for now. I need to remove those and make
everyone use gui2::tfile_dialog directly before this can be merged to
master.
2016-10-05 03:06:43 -03:00
Charles Dang
7ad4ba4083 Tooltips: some small tweaks to visuals 2016-10-05 10:52:29 +11:00
Charles Dang
e25aa4ac2c MP Create Game: use tooltips for mod descriptions 2016-10-04 19:36:29 +11:00
Charles Dang
a67809d240 Slightly bump initial tooltip width 2016-10-04 19:35:50 +11:00
Ignacio R. Morelle
5375ad838f gui2/ttext_box: Move selection highlight to the right place 2016-10-03 20:06:30 -03:00
Ignacio R. Morelle
b1fe37b90b gui2/ttext_box: Restore selection highlight lost in version 1.13.3
It was unexplainedly dropped by commit
67cf95a5af.
2016-10-03 20:01:31 -03:00
Charles Dang
dbbc0b7414 Dropdown List: set the tooltip on the whole panel, instead of just individual elements 2016-10-03 17:55:11 +11:00
Charles Dang
38680bde3b MP Create: remove vertical spacer lines 2016-10-03 17:19:57 +11:00
Charles Dang
051519b038 Fixup 59c0675691 2016-10-03 14:33:51 +11:00
Charles Dang
ae663df1f0 End Credits: use no-blur version of box_display panel
There's *massive* performance loss with the blurred version. This is most likely due to surface
blur being reevaluated every draw cycle, causing massive slowdowns.
2016-10-03 04:56:58 +11:00
Charles Dang
30d7df8094 Fix blurring not being displayed for box_display panels (such as in the titlescreen) 2016-10-02 13:49:04 +11:00
Pentarctagon
5990347ed1 Fix the content of a message getting squished 2016-10-01 14:01:43 -05:00
Charles Dang
b4d460cd16 MP Join Game: layout improvements 2016-10-01 10:32:13 +11:00
Charles Dang
e46fc2faa3 MP Staging: fixed header misalignment
For some reason, the left/right borders made them even more out of alignment. Optimally, these should still be
shifted 5 px to the right each, but that's a problem for another day (it'd likely mean a new label definition).
2016-10-01 06:50:45 +11:00
Charles Dang
39c99d076a Lobby: add missing border around player tree 2016-10-01 03:01:39 +11:00
Charles Dang
45ea8c6a43 Added GUI2 MP Join Game dialog
Note the faction select dialog doesn't appear for some reason.
2016-10-01 02:09:20 +11:00
Charles Dang
fe2e119b25 MP Create Game: fixed widespread typo 2016-09-30 21:08:47 +11:00
Charles Dang
688c3f600d Faction Select: use small label for recruits list
This is better for factions with long lists like those in Age of Heroes
2016-09-30 15:17:58 +11:00
Charles Dang
75636ee17c MP Staging: some progress with getting the network processing working, as well as using the dialog for non-hosts 2016-09-29 13:37:22 +11:00
Charles Dang
1848c8c919 MP Method Selection: specify max username input length
This was already checked when the password was parsed by the server, so it makes sense for the UI
to reflect that restriction.
2016-09-28 12:58:02 +11:00
Charles Dang
42cb2afae5 MP Staging: layout tweaks 2016-09-21 03:06:46 +11:00
Charles Dang
ad0a9768b9 MP Staging: wired in more functionality 2016-09-20 23:04:24 +11:00
Charles Dang
96a66dc37c Dropdown List: fixed grow factor for name column 2016-09-20 21:29:47 +11:00
Charles Dang
61b5cde7a0 Game Stats: removed horizontal spacer line 2016-09-20 19:05:29 +11:00
Charles Dang
9721910d98 Initial implementation of GUI2 MP Staging dialog (Connect + Wait) 2016-09-20 05:34:31 +11:00
Charles Dang
8609955b74 Refactored square/minimal button definition code
* Reduced used of macro arguments slightly
* Made overlay images centered instead of stretched to size
2016-09-20 03:42:07 +11:00
Charles Dang
dba4bd78b3 Added short slider definition 2016-09-20 03:42:06 +11:00
Charles Dang
2dd8cfdbdc GUI2: added flag to enable markup from WML 2016-09-20 02:06:16 +11:00
Charles Dang
33653e3969 Reduced chatbox size slightly 2016-09-18 03:01:03 +11:00
Charles Dang
9682df6ad0 Game Version: small max height bump to avoid a scrollbar in tab 2 2016-09-17 04:08:24 +11:00
Charles Dang
b48d08d687 Drop Down List: some border fixes
This fixes cases where the image height exceeded the label borders, which would lead to options
being too close together
2016-09-17 04:01:09 +11:00
Charles Dang
cf56400996 MP Create: significant layout improvements 2016-09-17 01:57:33 +11:00
Charles Dang
94b092fa9d Added a definition for a really large button 2016-09-17 01:54:41 +11:00
Celtic Minstrel
bc7b27e496 Minor end credits tweaks
- Increase max scroll speed
- Make help text smaller
2016-09-16 10:47:59 -04:00
Charles Dang
183abfdabb Game Load: fixed layout with small number of saves 2016-09-16 17:42:43 +11:00
Charles Dang
61f1c83073 End Credits: few formatting changes 2016-09-16 00:01:13 +11:00
Charles Dang
d6ece4ef5a End Credits: added explanatory label regarding speed controls 2016-09-14 23:53:37 +11:00
Charles Dang
20831bf853 Updated schema for 4e21ae709e 2016-09-11 22:35:43 +11:00
Charles Dang
d822e672ba End Credits: centered text 2016-09-11 22:19:41 +11:00
Charles Dang
d0cae514ff Added basic GUI2 end credits dialog (incomplete) 2016-09-11 18:55:38 +11:00
Charles Dang
865f7262f9 Added large scroll label definition 2016-09-11 18:53:48 +11:00