Commit Graph

42 Commits

Author SHA1 Message Date
Huo Yaoyuan
f24f39774f Enable basic performance rules 2024-11-27 23:50:01 +08:00
Salman Ahmed
43ad6b1ad2 Add implementation for dropdown search bars 2023-12-02 22:14:15 +03:00
Dan Balasescu
9bbc6a81a2 Partial everything 2022-11-25 18:58:48 +09:00
Dean Herbert
b676d4906e Add test coverage of TabControl expectations on tab items not being present 2022-08-11 13:50:22 +09:00
Dan Balasescu
ba1385330c Automated #nullable processing 2022-06-13 21:57:05 +09:00
Endrik Tombak
2d2289a087 Always sort initial selection if auto-sorting 2021-09-05 15:48:54 +03:00
Dean Herbert
259c7cc1c6 Rename Drawable.Click to Drawable.TriggerClick to avoid naming conflict
This is primarily to avoid a naming conflict with
`ManualInputManager.Click`, but also better aligns with the fact that
it's triggering an event (via `TriggerEvent`) internally.

For additional safety, `ManualInputManager` will also throw on usage of
this method (as it is a common gotcha mistake when trying to create
tests). I haven't bothered with the obsoleted method here since the user
should see an obsolescence notice in such cases.
2021-08-03 17:34:19 +09:00
ekrctb
99fb981b73 Flatten PlatformAction struct to an enum 2021-07-20 14:43:38 +09:00
Dean Herbert
3114866b27 Merge branch 'master' into localisation 2021-02-17 19:48:25 +09:00
Bartłomiej Dach
ee9a81cb92 Add failing test case 2020-12-28 16:29:17 +01:00
smoogipoo
26babf8cec Fix BasicTabControl not working 2020-09-11 01:43:31 +09:00
smoogipoo
2ee0fac23e Add test 2020-07-06 22:15:05 +09:00
Dean Herbert
d1d3412591 Fix edge cases in selection behaviour when non-switchable tabs are present
Basically became a rewrite of switch logic. Also adds more test coverage for new scenarios.
2020-06-16 12:09:30 +09:00
crabn3bula
34a864565e Fix xmldoc, format sources 2020-06-11 17:05:28 +04:00
crabn3bula
1b99cfba5d Add TabCotrol test cases that verify that the selection changes when the current tab is removed 2020-06-11 14:42:41 +04:00
Huo Yaoyuan
d45f35206a Merge branch 'master' into localisation 2020-05-31 19:10:41 +08:00
Dean Herbert
0df7590d74 Remove usage of RequiredTypes 2020-05-14 10:39:40 +09:00
Huo Yaoyuan
73459dac94 Merge branch 'master' into localisation 2020-03-31 14:15:00 +08:00
smoogipoo
7454dd4e17 Make tab switching include the dropdown items 2020-03-05 16:29:16 +09:00
Dean Herbert
e1bad82ebc Merge branch 'master' into localisation 2020-03-02 13:27:39 +09:00
Dean Herbert
a0d2a5165d Merge branch 'master' into better-tabcontrol-items 2020-01-18 13:36:25 +09:00
smoogipoo
816a1d4c2e Make TabControl better return contained items 2020-01-16 16:47:27 +09:00
smoogipoo
72377e3f5e Remove unused variable 2020-01-16 15:52:29 +09:00
smoogipoo
ffd70ae07e Refactor test scene 2020-01-16 13:33:40 +09:00
Huo Yaoyuan
cd0096159a Simplify the name to LocalisableString. 2020-01-07 17:40:01 +08:00
Huo Yaoyuan
3afe6dd807 Remove implicit conversion to string and be localisable in more cases. 2020-01-06 15:43:18 +08:00
Joehu
40ae038b22 Revert naming back to IsSwitchable 2019-12-22 19:38:43 -08:00
Joehu
1c5950b660 Fix switching tab control test 2019-12-21 12:37:32 -08:00
Dean Herbert
0bfc870993 Add tests (taken from #2740) 2019-08-13 19:24:12 +09:00
David Zhao
8b130e2072 Add autosort testing to SelectNull 2019-08-13 13:42:24 +09:00
smoogipoo
ed33a92c38 Fix tabcontrol throwing bindable disabled errors on load complete 2019-07-17 14:35:50 +09:00
Dean Herbert
6ef307367c Merge branch 'master' into make-menu-abstract 2019-06-27 10:42:47 +09:00
smoogipoo
646319c0f1 Fix tab control crashing with leased bindables 2019-06-24 11:46:41 +09:00
jorolf
045c4bad69 make menu and related classes abstract 2019-06-21 16:55:14 +02:00
Dean Herbert
c40d6b3c1a Use FrameworkTestScene as base class wherever possible 2019-06-05 14:00:47 +09:00
smoogipoo
1167b454fd Merge remote-tracking branch 'origin/master' into tabcontrol-multiline
# Conflicts:
#	osu.Framework.Tests/Visual/UserInterface/TestSceneTabControl.cs
2019-05-23 13:47:33 +09:00
smoogipoo
f5d22b792c Adjust height of tab control 2019-05-23 13:11:30 +09:00
Dean Herbert
fd8affd76b Allow multiline tab controls 2019-05-22 19:45:44 +09:00
Dean Herbert
4836a83866 Add null selection support for tab control 2019-05-22 18:40:46 +09:00
Dean Herbert
a1a6ff440b Simplify items 2019-05-22 18:32:21 +09:00
Dean Herbert
babec6ec3d Clean up TabControl test scene 2019-05-22 18:06:15 +09:00
Roman Kapustin
8e340ce027 Rename TestCase to TestScene 2019-04-22 21:35:39 +03:00