Commit Graph
140 Commits
Author SHA1 Message Date
ShadowCommander d1a83134e3 Fix SpriteView when UI is scaled 2021-06-05 19:47:26 -07:00
Pieter-Jan Briers 720f1b1d05 Fix a bunch of compiler warnings. 2021-05-12 00:16:12 +02:00
Pieter-Jan BriersandGitHub 8efffc471d Multi-window support (#1713) 2021-05-02 14:05:50 +02:00
Pieter-Jan Briers 81f49d5eb2 Fix moving to the end of a textbox. 2021-03-17 01:22:45 +01:00
Pieter-Jan Briers 516b2cd372 Handle surrogate pairs correctly in LineEdit. 2021-03-10 16:55:12 +01:00
Pieter-Jan Briers 1bf8b2a52b Use Rune for rendering text instead of char.
Fixes crashes with surrogates.
2021-03-09 23:25:27 +01:00
e5b6fccf67 Add a scroll speed property to ScrollContainer (#1590)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2021-02-25 10:39:53 +00:00
RemberBLandGitHub 95a912c329 Adds args.Handle(); into UI code for scrolling (#1595) 2021-02-25 11:08:19 +01:00
Pieter-Jan Briers b814fc851a Fix more scrollbar DPI scaling bugs. 2021-02-24 12:18:29 +01:00
Pieter-Jan BriersandGitHub 583b7ebf38 WPF layout (#1581) 2021-02-21 12:28:13 +01:00
AcruidandGitHub fdb5e014b5 PauseManager moved to Shared (#1553)
* Moved IPauseManager from server to shared.

* Moved ITimerManager from Timers to Timing.

* Added missing IConsoleHost to server/client RegisterIoC. Tests work again.
2021-02-18 20:12:26 -08:00
chairbenderandGitHub 68ab3d504a Various fixes to support new chatbox (#1547)
* #272 no arrow, actually change id on channel changer

* #272 ability to apply style class to child

* #272 try methods for selecting items in OptionButton.cs

* #272 allow escaping right angle bracket in formatted message

* #272 ability to detect when local player is set / unset

* #272 make RemoveModal public since PushModal is as well, so modals can be removed on-demand if needed rather than relying on a click elsewhere

* #272 revert
2021-02-12 18:20:29 -08:00
AcruidandGitHub 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00
Vera Aguilera PuertoandGitHub 8b9dadffb1 MIDI improvements (#1526) 2021-02-02 18:46:24 +01:00
Pieter-Jan Briers 3e5efd5ed0 Add AnimatedTextureRect 2021-01-24 23:00:02 +01:00
Pieter-Jan Briers cd01ca924b Fix broken PanelContainer due to previous commit.
God I am tired.
2021-01-24 04:20:51 +01:00
Pieter-Jan Briers 38ad8ce132 Fix UI scaling weirdness with PanelContainer. 2021-01-23 21:51:35 +01:00
Pieter-Jan Briers 32f3c863fb Fix UI scaling bugs with ProgressBar 2021-01-23 20:15:45 +01:00
Pieter-Jan Briers b00e0bef5a Fix UI scaling bug with RichTextLabel 2021-01-23 16:02:31 +01:00
Pieter-Jan Briers 0a09b27918 Fix UI scaling bug with GridContainer 2021-01-23 16:02:23 +01:00
chairbenderandGitHub c4062bcae9 #1449 new ControlFocusExited override for allowing controls to know (#1467)
when they lost control focus, separate from keyboard focus
2021-01-13 23:18:45 +01:00
Pieter-Jan Briers ca36671131 Fix nullable error in RadioOptions 2021-01-12 21:17:26 +01:00
39541639c5 Add RadioOptions.cs (#1484)
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-01-12 01:45:15 +01:00
Pieter-Jan Briers 2c851885db Fix ItemList not working correctly with scaling. 2021-01-11 02:06:25 +01:00
chairbenderandGitHub 1bf9e2e87a Multiselect option button, tooltip delay (Action Hotbar Support) (#1435) 2020-12-13 01:01:00 +01:00
ad8b0b3c83 Add bytes or sbytes to enum where available (#1430)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-12-08 12:46:30 +01:00
Pieter-Jan Briers 1508589a2b Fix compiler warnings. 2020-11-28 17:50:28 +01:00
b8e5b47e7a Use 'new' expression in places where the type is evident for the engine (#1415)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-11-26 00:16:55 +01:00
a37ac16fa3 EntityPrototypeIcon SpriteSpecifier (#1401)
Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
2020-11-16 01:52:19 +01:00
Pieter-Jan Briers f5c28cdb0d Fix GridContainer for real. 2020-11-13 02:42:46 +01:00
Pieter-Jan Briers 539b78cfb1 Clear stackallocs in GridContainer.
For SkipLocalsInit
2020-11-11 01:18:36 +01:00
Pieter-Jan Briers 362b7804d9 Fix issues with .NET 5. 2020-11-11 00:46:35 +01:00
chairbenderandGitHub ee381804ec New GridContainer capabilities and customizable tooltips (#1395)
* #272 avoid mouse overlapping tooltip when near edges,
change tooltip colors to match mockups

* #272 WIP customizable tooltips, old approach currently working still

* #272 WIP customizable tooltips, old approach currently working still

* #272 ensure tooltips go away when disposing control

* #272 implement row-oriented GridContainer

* #272 generalize GridContainer to support
rows or cols

* #272 improve readability in new GridContainer
logic

* #272 GridContainer can expand in opposite
direction

* #272 GridContainer can expand in opposite
direction

* #272 GridContainer can expand in opposite
direction, fix test

* #272 add GridContainer capability to
limit by size rather than count

* #272 add some clarifications about ui scale and vp / rp

* #272 don't spam showtooltip
event, calculate tooltip
positioning using combined
minimum size
2020-11-10 15:21:32 +11:00
178e2cbd76 Make icons great again (#1349)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-11-04 02:33:15 +01:00
214ba440dc Float spinbox (#1354)
corner styles

Co-authored-by: a.rudenko <creadth@gmail.com>
2020-10-27 20:01:04 +01:00
ShadowCommanderandGitHub 6b769d814e Fix ScrollBar overshot when frame time is long (#1310) 2020-10-10 01:10:03 +02:00
Paul RitterandGitHub 56b85256bf Things needed for singulo (#1306)
* things

* direction loopup table

* spinbox lineedit isvalid wasn't using isvalid
spinbox disabled functions

* fixes placementmanager

* pjb fixes
2020-10-09 14:55:19 +02:00
Víctor Aguilera PuertoandGitHub c96d5933d5 Changes needed for construction (#1304)
* Placement improvements

* Slightly better YAML error
2020-10-06 01:55:04 +02:00
Pieter-Jan Briers 51df6dbef5 Allow TextureRect to have shaders applied to it. 2020-10-06 01:28:47 +02:00
20kdcandGitHub 5146bf8ac2 More configurable lighting (also, "Rounded" mode for Range) (#1274)
* Add support for 'Rounded' mode to Range (and thus Slider)

* Make lighting resolution more configurable

* Use a lighting presets dropper because RemieRichards said so

* Make ConfigLightingQuality not a property and instead two separate methods

* More configurable lighting: cleanup to use a switch rather than an if-chain
2020-09-07 10:57:44 +02:00
89dca78d18 Fix Button Labels not updating styles when Button is disabled/enabled (#1263)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2020-08-30 00:12:56 +02:00
Pieter-Jan Briers 7890c1b39c Fix bogus nullability errors from Rider.
None of these are actual nullability warnings but they make Rider shut up so.
2020-08-25 17:48:23 +02:00
9d1bec9bb2 Merge FloatMath and MathHelper (#1234)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-08-20 19:21:07 +02:00
Pieter-Jan Briers d4a47778ef Remove this parameter from FloatMath.Clamp.
That was a stupid idea.
2020-08-12 21:17:18 +02:00
Pieter-Jan Briers b45ea725d7 Remove CannyFastMath. 2020-08-12 21:17:17 +02:00
Acruid 5e448f20c0 Move parts of the simulation update back into engine, from Content's StateBase.
Allow content to push modal windows in the UI framework.
The MenuBar now closes it's MenuButton frame when you select one of the buttons.
Modal controls on the stack now actually block input from the rest of the UI.
Adds the `scene` concommand for instantly switching between game states (scenes).
2020-07-19 12:31:13 -07:00
Pieter-Jan Briers 6088df4018 Make LineEdit cull rendering on the left of its bounding box aswell.
Fixes https://github.com/space-wizards/space-station-14/issues/1300, although realistically this is more an optimization that happens to fix the bug.
2020-07-08 03:14:38 +02:00
Pieter-Jan Briers c2ce37517f Mouse wheel scrolling for Tree control.
Fixes https://github.com/space-wizards/space-station-14/issues/1309
2020-07-08 02:50:27 +02:00
ShadowCommanderandGitHub 6c2157c10f Change ScrollContainer ScrollBars to not affect layout when not visible (#1162) 2020-07-01 16:36:53 +02:00
chairbenderandGitHub 2558201ae4 implement dragging of split in split containers (#1141) 2020-06-22 18:50:34 +02:00