Commit Graph

32 Commits

Author SHA1 Message Date
johni0702
de322e4b6e Add background color to Containers 2015-10-11 10:37:40 +02:00
johni0702
4e901465fa Fix NPE when removing elements before first draw 2015-10-11 10:36:14 +02:00
johni0702
2b0ada5f65 Use HorizontalLayout as default layout 2015-10-11 10:32:28 +02:00
johni0702
d70998bab6 Fix mouse releasing being processed as clicking 2015-10-11 10:11:15 +02:00
johni0702
12456ae47c Allow copying of GuiImages without recreating the texture 2015-10-10 19:54:18 +02:00
johni0702
efde8fde67 Fix drawing order by using Linked maps in layouts 2015-10-10 17:29:28 +02:00
johni0702
f2581ff123 Add safety checks to GridLayout so we fail-fast 2015-10-10 17:26:16 +02:00
johni0702
0ad7eb31fd Extend GuiImage to allow for ResourceLocations 2015-10-09 08:33:04 +02:00
johni0702
fc4dc86355 Add status indicators
Allow removal of elements from gui containers
2015-10-09 08:33:04 +02:00
johni0702
4d27875955 Fix mouse/keys not working when replay is paused 2015-10-04 19:02:11 +02:00
johni0702
f925d56ca2 Split mod into core, recording, replay, render[todo], paths[todo] and extras[wip] modules
Move everything to com.replaymod package
Add KeyBindingRegistry and SettingsRegistry
Recreate settings GUI with new GUI API and dynamically from SettingsRegistry
Use ReplayFile from ReplayStudio
ReplayHandler is now object oriented
Add GuiOverlay, GuiSlider and GuiTexturedButton to GUI API
Rewrite both overlays to use new GUI API
Fix size capping in vertical and horizontal layout
Allow CustomLayouts to have parents
Fix tooltip rendering when close to screen border
Allow changing of columns in GridLayout
2015-10-03 17:36:04 +02:00
johni0702
8d7bc1b8d6 Fix NPE when inserting new line anywhere but at the end 2015-08-16 11:34:36 +02:00
johni0702
b4ed4fb31b Fix OffsetGuiRenderer swallowing the shadow flag 2015-07-16 16:05:56 +02:00
johni0702
8889f3c340 Add shadows to button and checkbox GUI 2015-07-15 15:54:28 +02:00
johni0702
dccbc99d86 Add option for whether to draw a shadow of string to GuiRenderer 2015-07-13 14:09:35 +02:00
johni0702
a9ded2bc1d Clickable and Draggable now also return booleans for whether they handled the event 2015-07-13 09:42:06 +02:00
johni0702
bd21ed16ae Fix generics in most of the Gui interfaces 2015-07-13 09:42:06 +02:00
johni0702
4476993ca6 Add GridLayout which orders elements in a grid with cells of equal size 2015-07-13 09:35:40 +02:00
johni0702
5c05cd62ce Add GuiTextArea 2015-07-13 09:35:32 +02:00
johni0702
35bc9f7fae Remove preferred size and default button size
Replace alignment data in horizontal and vertical layout with double value
Add convenient size(GuiElement, ReadableDimension) method to custom layout
2015-07-13 08:11:15 +02:00
johni0702
219277f623 Add layers to Gui API so specific elements can be drawn on top of others and react to mouse clicks first 2015-07-13 08:11:15 +02:00
johni0702
824c80d0d2 GuiLabel now auto-breaks when text is longer than canvas 2015-07-11 15:56:31 +02:00
johni0702
117f383ec0 Add Layout to CrashReport when drawing GUI 2015-07-11 15:53:04 +02:00
johni0702
d8a9b8fd2f Fix point conversion for stacked GuiContainers 2015-07-11 15:53:04 +02:00
johni0702
a61c0eb4e5 Add GuiImage 2015-07-11 15:32:36 +02:00
johni0702
843328658a Add text color and setI18nText to GuiTextField 2015-07-11 15:32:36 +02:00
johni0702
dea3f7fc9f Add GuiToggleButton 2015-07-10 12:59:07 +02:00
johni0702
f2ee292119 Add GuiCheckbox 2015-07-10 12:23:33 +02:00
johni0702
2b2bbbf49a Add hint to GuiTextField 2015-07-10 12:23:33 +02:00
johni0702
c66efc91b7 Add GuiProgressBar for new Gui API 2015-07-09 18:30:00 +02:00
johni0702
9e886b6171 Add tooltips to gui elements 2015-07-09 18:24:15 +02:00
johni0702
db8b5a9be0 Add new Gui API 2015-07-09 18:24:15 +02:00