Pieter-Jan Briers
df2e2af7f2
Default vertical size flags for label correctly.
2019-03-04 17:59:58 +01:00
Pieter-Jan Briers
ba59e71b7a
Control input clipping.
2019-03-04 17:40:12 +01:00
Pieter-Jan Briers
274dfb769d
Increase ScrollContainer scrolling speed.
...
Really this shouldn't be hardcoded but oh well.
2019-03-04 15:45:09 +01:00
Pieter-Jan Briers
12a61918ab
Add GUI dump command.
2019-03-04 15:41:41 +01:00
Pieter-Jan Briers
28e60109f0
Code Cleanup of Console/Commands/Debug.cs
2019-03-04 15:40:50 +01:00
Pieter-Jan Briers
e24f55476e
VV can now VV VV.
2019-03-04 15:38:46 +01:00
Pieter-Jan Briers
8c5a2dedb9
Oh yeah maybe commit this.
2019-03-04 15:36:23 +01:00
Pieter-Jan Briers
07880f4352
Give VV windows a control name to ease debugging.
2019-03-04 15:36:07 +01:00
Pieter-Jan Briers
4b104c01a1
Fix StyleBoxFlat margins being a mess.
2019-03-04 15:35:37 +01:00
Pieter-Jan Briers
278e1299b8
Slap [ViewVariables] on Control.
2019-03-04 15:35:17 +01:00
Pieter-Jan Briers
46e1b10269
Fix Control.SetMarginPreset with right and bottom anchors.
2019-03-04 15:34:40 +01:00
Pieter-Jan Briers
9f24bf2602
Remove bad AutoLoad from project.godot.
2019-03-04 13:48:54 +01:00
Pieter-Jan Briers
15350e7969
Merge branch 'master' of github.com:space-wizards/space-station-14
2019-03-04 12:48:15 +01:00
Pieter-Jan Briers
88b6a7f4da
DebugConsole history is less broken and saved to disk.
2019-03-04 12:47:39 +01:00
Pieter-Jan Briers
4a8fdf744e
Fix all the ScrollContainer crashes.
...
Probably.
2019-03-04 12:47:20 +01:00
Pieter-Jan Briers
37f51a9dd1
Implement LineEdit.Editable, improve LineEdit styling.
2019-03-04 12:47:01 +01:00
Pieter-Jan Briers
9352ccf82d
LineEdit improvements:
...
Added IgnoreNext bool to prevent keys that focus it getting entered.
Made OnTextChanged not fire when setting Text.
2019-03-04 11:27:34 +01:00
Nirnael
200bc572bf
Fix viewport size on window creation for OS-imposed sizes ( #743 )
...
Adds a call to viewport on opengl init in order to properly initialize the viewport size when the OS imposes a window size on window creation. Fixes Windows OS tablet mode-imposed window sizes.
That System diff is a bug.
2019-03-01 21:04:19 +01:00
Pieter-Jan Briers
de5f3d8870
Mostly functional ScrollContainer.
2019-03-01 16:28:17 +01:00
Pieter-Jan Briers
5505ee91f0
Help the entire UI system is spaghetti and we need to fix this.
2019-03-01 16:27:58 +01:00
Pieter-Jan Briers
7340e1212c
Once again remove 3.1 project.godot
2019-02-27 13:53:01 +01:00
Pieter-Jan Briers
2ec0ae41fe
Add safety check to ScrollBar.IsAtEnd.
2019-02-26 17:04:58 +01:00
Pieter-Jan Briers
9e718a01d8
OutputPanel uses ScrollBars
2019-02-26 17:04:37 +01:00
Pieter-Jan Briers
45efe4f29f
Implement scroll bars.
2019-02-26 15:39:57 +01:00
Pieter-Jan Briers
acd0299f1e
Avoid redundant pseudo class restyles.
2019-02-26 14:31:26 +01:00
Pieter-Jan Briers
11b0c871c3
Fix MouseMove only firing on mouse focus.
2019-02-26 10:49:23 +01:00
Pieter-Jan Briers
3fb791bd0d
Do not stop mouse wheel with stop filter mode.
...
Arguably we should have some kinda event mask for this,
but this is how Godot does it and I'm not gonna engineer a better
solution.
2019-02-26 10:49:07 +01:00
Pieter-Jan Briers
fb4b325f59
TabContainer mostly works, shoddily.
2019-02-25 10:52:30 +01:00
Pieter-Jan Briers
85da2b9a19
Add StyleBox.GetEnvelopBox.
2019-02-25 00:43:48 +01:00
Pieter-Jan Briers
9858004de8
Fix really bad copy paste mistake.
...
Jeez. X always comes before Y when sorting like that. Style man.
2019-02-25 00:05:08 +01:00
Pieter-Jan Briers
47180ab2d5
Use this newfound clipping power on OutputPanel.
2019-02-24 23:04:42 +01:00
Pieter-Jan Briers
fa8f4b697f
Implement Control RectClipContent with Scissor testing.
2019-02-24 22:43:45 +01:00
Pieter-Jan Briers
68a2543020
Adds UIBox2i.Intersection.
2019-02-24 22:33:56 +01:00
Pieter-Jan Briers
76f47e07df
Control.OnVisibilityChanged does not fire if value == _visibility.
2019-02-24 21:30:18 +01:00
Pieter-Jan Briers
4e71bd541f
Controls get a ChildMoved event.
2019-02-24 21:29:57 +01:00
Pieter-Jan Briers
8747d68ee3
Change default font DPI to 96.
...
Windows also treats 96 as the default 100% I believe.
2019-02-24 15:54:57 +01:00
Pieter-Jan Briers
0a84fca028
I should learn to be careful with C APIs.
...
Fixes crashes related to the font system.
2019-02-24 15:53:37 +01:00
Pieter-Jan Briers
66bf5d7c48
Make Chatbox use OutputPanel.
2019-02-24 01:11:39 +01:00
Pieter-Jan Briers
4a7b39bc84
Prevent negative scroll amounts on OutputPanel.
2019-02-24 01:10:31 +01:00
Pieter-Jan Briers
5f3b1414f8
Fix OutputPanel with null panel override on Godot.
...
Also add StyleBoxEmpty.
2019-02-24 01:05:54 +01:00
Pieter-Jan Briers
0984befcae
DebugConsole: remove need for separate PanelContainer.
2019-02-24 00:12:54 +01:00
Pieter-Jan Briers
91854cfd0b
OutputPanel gets its own style box to draw.
2019-02-24 00:12:30 +01:00
Pieter-Jan Briers
90c351bb21
Load size flags from tscn.
2019-02-24 00:11:44 +01:00
Pieter-Jan Briers
6bd84abaf4
Rename NetDebugPanel to DebugNetPanel
2019-02-23 23:31:39 +01:00
Pieter-Jan Briers
f753b131e0
Maybe don't forget to commit the PanelContainer implementation.
2019-02-23 23:29:51 +01:00
Pieter-Jan Briers
1d23df6d79
Make DebugConsole scene purely in code.
2019-02-23 23:28:11 +01:00
Pieter-Jan Briers
72788cc263
Fix Control Size setter if minsize < margin-calculated size.
2019-02-23 23:15:09 +01:00
Pieter-Jan Briers
60d0e9c62b
Debug Monitors don't update text while hidden.
2019-02-23 23:08:19 +01:00
Pieter-Jan Briers
1fd2cfa7fd
Containers re-sort on resize.
2019-02-23 23:07:54 +01:00
Pieter-Jan Briers
e463718917
Fix bad copy paste bug in Container.FitChildInBox.
2019-02-23 23:07:43 +01:00