Commit Graph

9 Commits

Author SHA1 Message Date
CrushedPixel
51814e143b Created dummy GuiOverlayElement interface for ComposedElement to determine which Elements to draw last
Added methods to retrieve position and size from a GuiElement
Added draw() method with option to override hovered boolean to GuiElement interface and implemented it. This is required for GuiAdvancedButtons which would be tinted blue (as if hovered) even though an overlying GuiElement (e.g. GuiDropdown) was hovered
2015-07-19 13:27:37 +02:00
CrushedPixel
5828b04596 "The Commit that properly implements the disabling of Gui Elements"
Added enabled Field to DelegatingElement, which every instance can handle itself
Made isEnabled Field in GuiAdvancedTextField protected for subclasses to access
Made GuiDraggingNumberInput only draggable while enabled
Made GuiDropdown check enabled field before accepting mouse clicks
Properly tints GuiTexturedButton if disabled
2015-07-10 03:37:13 +02:00
johni0702
37c1796dca Move features from GuiTexturedButton to GuiAdvancedButton 2015-07-07 16:30:53 +02:00
johni0702
a058497727 Fix all warnings
Add and make use of Lombok
Remove Mojang API
Remove ZipFileUtils
Remove StreamTools in favor of Apache IOUtils
Keyframe should be abstract all derivatives final
Replace clone in Keyframe with copy
Move some constants from GuiReplaySetttings to GuiConstants
2015-06-29 21:45:37 +02:00
johni0702
be4ee42dcb Add GuiTextArea
Reorder and add description to GuiUpload
2015-06-14 14:13:03 +02:00
johni0702
f1327dbdc1 Add method to TooltipRenderer which accepts Color instead of ARGB int 2015-06-10 18:48:48 +02:00
johni0702
b3451ed7fd Use component like system for gui overlay
Add missing abort path replay button
2015-06-01 10:17:10 +02:00
CrushedPixel
53bb338d1b Added untranslated hoverKey property to GuiTexturedButton which is to be displayed when hovering over the Button
Implemented hoverKey feature in GuiReplayOverlay (doesn't display properly yet)
2015-05-31 18:13:11 +02:00
johni0702
9f3a97f65c Cleanup, relocate and split up GuiReplayOverlay
Merge gui resources into one texture
2015-05-26 01:08:22 +02:00