Commit Graph

2645 Commits

Author SHA1 Message Date
Pieter-Jan Briers
010d32424a Relicense future code to MIT. 2019-03-13 13:25:55 +01:00
Pieter-Jan Briers
ae0d34cd7e Just barely implement Popup 2019-03-12 10:01:00 +01:00
Pieter-Jan Briers
db45961936 Fix middle and right click being treated as left click. 2019-03-12 10:00:44 +01:00
Pieter-Jan Briers
b2bb711dbb CheckBox works. 2019-03-11 11:55:13 +01:00
Pieter-Jan Briers
d139203367 UITest command for testing. 2019-03-08 17:14:11 +01:00
Pieter-Jan Briers
ec314a64b2 Implement ProgressBar 2019-03-08 17:14:01 +01:00
Pieter-Jan Briers
ebbcd36524 Define CheckButton so APC UI opens 2019-03-08 17:13:49 +01:00
Pieter-Jan Briers
4874254acc Apparently I completely forgot to push this.. 2019-03-08 17:13:14 +01:00
Pieter-Jan Briers
af186959db Load Range values from tscn. 2019-03-08 17:12:37 +01:00
Pieter-Jan Briers
f6e4dd6a00 Drop keyboard focus when clicking on nothing. 2019-03-08 14:22:14 +01:00
Pieter-Jan Briers
d025065d40 Controls now lose focus when hidden or deleted. 2019-03-08 14:18:14 +01:00
Pieter-Jan Briers
7919be26f1 Fix crash on Godot as a result of bff03cd2b8 2019-03-08 14:17:58 +01:00
Pieter-Jan Briers
82d1a24f78 Entity Spawn Window now takes name into consideration for search. 2019-03-08 13:59:19 +01:00
Pieter-Jan Briers
bff03cd2b8 Placement drawing moved to overlay; works in Clyde.
Fixes #597
2019-03-08 10:23:08 +01:00
Pieter-Jan Briers
cf32f0874d Clyde improvements.
Fix some render state leaking across drawing handles.
Draw world space overlays.
2019-03-08 10:21:37 +01:00
Pieter-Jan Briers
24b6240f3b Clip culling for controls.
This significantly speeds up rendering of things like
the entity spawn panel.
2019-03-08 09:26:05 +01:00
Pieter-Jan Briers
12896f306c Fix VSync button not starting in the right color. 2019-03-08 09:06:25 +01:00
Pieter-Jan Briers
40a037a97a Fix initial LineEdit placeholder being the wrong color. 2019-03-08 08:57:46 +01:00
Pieter-Jan Briers
b533968531 Fix bad layout in tscn files for spawn panels. 2019-03-06 16:06:52 +01:00
Pieter-Jan Briers
88572c5bae Change base types of spawn panel items to PanelContainer.
To match the types in the tscn files.
2019-03-06 16:06:38 +01:00
Pieter-Jan Briers
8b23a80357 Improve the GUI dump command. 2019-03-06 16:06:06 +01:00
Pieter-Jan Briers
06675cd956 Load rect_clip_content and rect_min_size from tscn. 2019-03-06 16:05:53 +01:00
Pieter-Jan Briers
20e5fe9b4d Fix Godot 3.0 compatibility. 2019-03-05 21:56:47 +01:00
Pieter-Jan Briers
19a7e21d47 Fix inconsistent FPS on Clyde.
Fixes #729

This was simple. Client was defaulting to 50 FPS while the server was defaulting to 60.

Jeez.
2019-03-05 18:04:51 +01:00
Pieter-Jan Briers
2ff15f7fb0 Improve ridiculous VV window sizes. 2019-03-05 09:37:34 +01:00
Pieter-Jan Briers
2848d40d5d Implement Button.ClipText. 2019-03-05 09:35:18 +01:00
Pieter-Jan Briers
f8359a38e0 Change default filter mode for containers.
This fixes VV's "click to expand" functionality on the property controls
2019-03-05 09:21:35 +01:00
Pieter-Jan Briers
975439c388 VV debug command addition.
Now has a Vector2 field. I needed this to check something.
2019-03-05 09:03:51 +01:00
Pieter-Jan Briers
94e744b751 Unit test BoxContainer. 2019-03-05 09:03:27 +01:00
Pieter-Jan Briers
5c57ce1118 Fix BoxContainer with multiple expanding children. 2019-03-05 09:03:13 +01:00
Pieter-Jan Briers
c751bff500 Use the power of operator overloading to implicit cast tuples to Vector2 2019-03-05 09:02:47 +01:00
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