Commit Graph

50 Commits

Author SHA1 Message Date
Alexander Fast
070d00c678 Fixes year numbers in license text in file headers. 2014-08-21 11:27:52 +02:00
Pavlos Touboulidis
628c524494 Add smooth scrolling to the ScrollPanelWidget 2014-06-21 16:41:56 +03:00
RoosterDragon
22abf9b4c4 Remove and sort usings. 2014-06-18 21:43:35 +01:00
Pavlos Touboulidis
a80c4f086a Add filters to the replay browser dialog
This closes issue #2152. The filters added are:

* Game type (singleplayer / multiplayer)
* Date
* Duration
* Outcome
* Player name

Other changes:

* Added a 'CollapseHiddenChildren' option to the ScrollPanelWidget to
make hidden children take up no space.
* Removed the extension (.rep) from the replay filenames in the
replay browser.
2014-05-22 21:54:14 +03:00
Saticmotion
1bf3f3e03e The engine now uses the SDL2.0 scroll events properly.
Scroll speed is now a user preference.
2014-05-16 13:56:22 +02:00
Pavlos Touboulidis
af48626020 Fix scroll offsets
This is not a full fix, it merely restores the functionality
already present. The ScrollPanelWidget does not work right if
Align is set to Bottom but ScrollToBottom() isn't called after
adding items and there's not enough content to scroll.
2014-04-26 17:21:42 +03:00
Paul Chote
4935266945 Merge FileFormats dll into Game and reorganise namespaces. 2014-04-17 01:20:47 +12:00
ScottNZ
86a3e14f2d Remove constructor base() redundancies 2013-11-12 17:31:55 +13:00
Paul Chote
94554d7678 Support nested scissor rectangles. 2013-10-25 08:31:34 +13:00
Paul Chote
cfb6e149b3 Support bottom-aligned scroll panels. 2013-10-22 21:51:23 +13:00
ScottNZ
c6dc0e8c8b Add IRC interface to ra/cnc server browsers 2013-10-05 12:05:28 +13:00
ScottNZ
3ee1628b13 Add databinding support to ScrollPanelWidget 2013-10-05 12:05:21 +13:00
Paul Chote
7c91d6976d Split keyboard and mouse focus.
Fixes #3304.
Fixes #2075.
Fixes C&C chat focus bug.
2013-07-27 21:02:52 +12:00
Matthias Mailänder
f14441d2f4 added MinimumThumbSize to ScrollPanelWidget
closes #2865
2013-05-15 18:13:39 +02:00
Paul Chote
01248de66b Add ScrollPanel.ScrollToItem(). 2013-04-06 01:39:04 +13:00
Sascha Biedermann
b6d09b8829 fixed child removal
fixed relayout on draw
refactored child remove/replace into ScrollPanelWidget
fixed scrolling on child remove
2013-03-19 17:39:07 +01:00
Sascha Biedermann
770d79da0b update player list in lobby gracefully for better user experience 2013-03-18 22:25:31 +01:00
Scott_NZ
0c6daf191c Add button highlighting/glow effect, to be used for the objective button when the objectives update 2012-10-02 21:52:43 +13:00
Chris Forbes
ed429a3b30 split Widget static bits into Ui static class 2011-12-13 23:38:59 +13:00
Chris Forbes
dd55c0ad93 remove spurious parens on return 2011-12-13 22:27:10 +13:00
Chris Forbes
92bdec7f1d factor out layout policy for ScrollPanelWidget; add GridLayout option. 2011-10-08 18:15:24 +13:00
Chris Forbes
cf46a7ed5f scroll maplist to the top when changing filter 2011-10-08 17:36:48 +13:00
Chris Forbes
55036cd58c fix trailing whitespace everywhere 2011-09-26 08:40:39 +13:00
Paul Chote
05acdc9b98 Clean up some uses of rect.Contains(int2). 2011-07-15 21:31:47 +12:00
Paul Chote
e9d67860de Proper mouseover support. 2011-07-14 20:29:02 +12:00
Paul Chote
1114293035 Apply consistent widget method names. Semantic change: Widgets that want to tick when !Visible must override TickOuter() instead of Tick(). 2011-07-14 20:29:02 +12:00
Chris Forbes
3409d8f046 remove type-specific functions for ChromeMetrics.Get; use FieldLoader 2011-06-20 14:39:03 +12:00
Chris Forbes
ef03d46f13 eradicate 'delegate' misuse 2011-05-22 22:02:09 +12:00
Chris Forbes
66c72d14d8 split scrollthumb/button in chrome data; fixes screwed up RA scrollthumbs 2011-05-22 21:33:47 +12:00
Paul Chote
e73248f55c Use the scrollbar arrow "pressed" variants 2011-05-22 18:41:29 +12:00
Paul Chote
14af766427 Remove some duplication from widgets that draw fake buttons. 2011-05-21 17:26:19 +12:00
Paul Chote
e09cd16042 Normalize scrollpanel 2011-05-21 17:26:19 +12:00
Chris Forbes
310ecc34ce clean up usings everywhere 2011-05-21 17:26:18 +12:00
Paul Chote
188a16fc08 Cnc scrollpanel with support for rollover etc. 2011-05-21 16:27:38 +12:00
Chris Forbes
ec82e6fe68 make ScrollPanelWidget mouse interaction cheaper 2011-05-21 16:27:06 +12:00
Chris Forbes
4d4a07b791 make ScrollPanelWidget cheaper 2011-05-21 16:27:04 +12:00
Paul Chote
094907c1a9 Update copyright header. Normalize line endings to LF. 2011-02-13 10:38:57 +13:00
Paul Chote
646863b85b Remove unused InitDelegates() method. Don't mutate the Children list directly. 2011-01-27 20:50:03 +13:00
Paul Chote
481cc7807b Don't require a WorldRenderer to draw non-world-rendering widgets. 2011-01-19 20:41:32 +13:00
Paul Chote
5254deedcb Remove some bogosity from widget mouse handling. 2011-01-05 23:01:17 +13:00
Paul Chote
6e7156e023 Mousewheel scrolls ScrollPanel. 2011-01-04 14:33:59 +13:00
Paul Chote
1ced0d7ab9 Require LMB for common widget interactions. 2011-01-04 14:33:59 +13:00
Paul Chote
a8b4e640e7 Fix dropdown lists. Visual tweaks. 2011-01-01 17:54:09 +13:00
Paul Chote
d1966ab476 Improved scrollpanel thumb behavior. 2011-01-01 17:21:40 +13:00
Paul Chote
d90dec9c8e Remove a pile of unnecessary state management from Scrollpanels. 2011-01-01 16:47:52 +13:00
Paul Chote
b948b9d2b7 Draggable thumbs 2010-12-31 23:59:23 +13:00
Paul Chote
d98e09e096 Draw scrollbar thumbs. 2010-12-31 23:19:13 +13:00
Paul Chote
4bb70f11e9 Tweak header positioning and scrollpanel scissoring (don't draw contents over the 1px border). 2010-11-28 13:53:38 +13:00
Paul Chote
306bece709 Tweak ra lobby scrollpanel margins. 2010-11-28 10:41:41 +13:00
Paul Chote
7182908728 Rename ListBoxWidget -> ScrollPanelWidget. 2010-11-27 11:20:01 +13:00