Commit Graph

1741 Commits

Author SHA1 Message Date
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
59e6b87935 Use new Gui API for GuiReplayDownloading 2015-07-09 18:30:31 +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
d4e04feaeb Use new Gui API for GuiLoginPrompt and GuiRegister 2015-07-09 18:24:15 +02:00
johni0702
db8b5a9be0 Add new Gui API 2015-07-09 18:24:15 +02:00
CrushedPixel
4ebf6c5b21 GuiKeyframeRepository always loads the Presets from its current Data set (to respect removed/newly added presets) 2015-07-09 16:41:13 +02:00
CrushedPixel
609c731dc0 Got rid of the OpenEmbeddedChannel, an artifact of the ReplayMod's very beginning. Rest in Peace, old friend. 2015-07-09 16:30:42 +02:00
CrushedPixel
16b74d9824 Included Path Interpolation methods in KeyframeList and uses it in PathPreviewRenderer
Created newInstance() method in KeyframeValue interface
2015-07-08 23:55:48 +02:00
CrushedPixel
cd27ccd855 Undo replacements of "Timestamp" with "Value" in comments/javadoc in ReplaySender 2015-07-08 23:00:06 +02:00
CrushedPixel
2d19b17626 Finished Layout of GuiObjectManager 2015-07-08 16:54:14 +02:00
CrushedPixel
80a47a61c8 Made GuiDropdown a subclass of GuiAdvancedTextfield, updating the Constructor and removing the now redundant GuiConstants entries 2015-07-08 15:50:12 +02:00
CrushedPixel
e26e09a264 Made GuiDraggingNumberInput fully functional
Linked GuiObjectManager to new Keybinding
Renamed RoundUtils#round to RoundUtils#round2Decimals for easier understanding
2015-07-08 12:13:23 +02:00
CrushedPixel
54f35eca03 Made GuiNumberInput a subclass of GuiAdvancedTextField and removed unneccessary IDs from Constructor and GuiConstants 2015-07-08 11:54:47 +02:00
CrushedPixel
8a973fa3e9 Created @Interpolate annotation for Interpolators to know which fields to interpolate (instead of all public fields) 2015-07-08 11:43:58 +02:00
CrushedPixel
64628eaac3 call super in equals/hashCode functions of KeyframesModifyEvent using Lombok 2015-07-08 04:48:20 +02:00
CrushedPixel
901b175efe Created GuiMarkerTimeline to display Markers again
Created helper methods in ReplayHandler to provide information about MarkerKeyframes
2015-07-08 04:46:44 +02:00
CrushedPixel
5100b63964 Warning, GIGANTIC COMMIT!
Replaced Keyframe subclasses with Generic Types of Keyframe and replaced all instanceof calls
Replaced implementations of Linear and Spline interpolation to interpolate any Object that extends KeyframeValue and contains at least one public double Field. I'll need this for Keyframe interpolation in CustomImageObject Transformations
Made MarkerKeyframe *no* subclass of Keyframe to avoid conflicts with PositionKeyframe in instanceof checks for Keyframe#getValue
Created KeyframeList which extends ArrayList to provide some helping functions which DRY up the ReplayHandler
Split up ReplayHandler's keyframeList into timeKeyframeList and positionKeyframeList
2015-07-08 04:13:24 +02:00
CrushedPixel
89cc6938f8 Reworked AssetRepository to link every Asset to a UUID
UUIDs are now being stored in the Replay File and loaded
2015-07-07 20:14:40 +02:00
CrushedPixel
40acb3f72d Created Method in ReplayFileAppender to queue all registed files starting with a specific string (e.g. folder name) for deletion 2015-07-07 20:12:19 +02:00
CrushedPixel
e22b37babe Created ReplayAsset interface and AssetRepository class which can contain such ReplayAssets. ReplayAssets allow users to add custom Files (so far only images, might be extended by .obj files) to the Replay which will later be used for CustomImageObjects.
Created GuiReplayManager to allow users to manage their assets.
Created BoundingUtils class to provide a simple method to fit an image into given bounds. This implementation fixes https://trello.com/c/WTnicWkJ/
2015-07-07 18:45:48 +02:00
CrushedPixel
0b1d3d9001 Created AssetFileUtils to provide valid File Extensions for various ReplayAsset implementations. This class has to be updated if new ReplayAsset implementations are added. 2015-07-07 18:42:10 +02:00
CrushedPixel
5e70eece49 Fixed GuiAdvancedTextField being focusable while disabled. This behaviour was inherited from GuiTextField. 2015-07-07 17:23:22 +02:00
CrushedPixel
cf2a8adb4c Removed backVisible field from CustomImageObject
Updated new instance creations of GuiEntryListEntry whose constructor changed in last commit
2015-07-07 17:04:01 +02:00
CrushedPixel
aa3a13b5a8 Updated GuiEntryList to extend GuiAdvancedTextField instead of GuiTextField 2015-07-07 17:02:39 +02:00
CrushedPixel
9a0c5366e1 Updated ExtendedPosition to include a scale value and added it to GuiAssetAdder (which will be renamed soon) 2015-07-07 17:00:35 +02:00
CrushedPixel
1b189c0dac Added setEnabled() method to GuiElement interface and implemented it everywhere
Made GuiFileChooser a child of GuiAdvancedButton instead of GuiButton
2015-07-07 16:55:49 +02:00
johni0702
392db29b34 Fix toggle buttons no longer working with GuiElement API 2015-07-07 16:38:05 +02:00
johni0702
37c1796dca Move features from GuiTexturedButton to GuiAdvancedButton 2015-07-07 16:30:53 +02:00
johni0702
ddeb27be6f Call super methods in equals and hashCode in ExtendedPosition 2015-07-07 14:39:08 +02:00
johni0702
0c94bc9ce6 Set fov modifier during rendering to 1 when in camera view 2015-07-07 14:33:25 +02:00
johni0702
9f4b2d9026 Pause the recording when the integrated server is paused 2015-07-07 13:09:38 +02:00
johni0702
9867dce79c Fix NPE when there is no hint set 2015-07-07 12:20:00 +02:00
johni0702
2d96cd9cc2 Allow replays to be started by "replay://" URIs (e.g. from browser) 2015-07-07 11:42:52 +02:00
CrushedPixel
948803571d GuiAssetAdder now allows to add/remove/edit Assets in a Replay. These Assets are not being saved yet. 2015-07-06 16:39:40 +02:00
CrushedPixel
bf7b28d53c Fixed the "M" key being typed in a TextBox adding/removing marker keyframes 2015-07-06 16:39:40 +02:00
johni0702
a21cf64a88 Realign all nametags towards the camera when rendering 360° frames 2015-07-06 15:52:07 +02:00
johni0702
13534dc94e Update ReplayStudio: Fix text messages including json quotation marks 2015-07-06 14:05:45 +02:00
CrushedPixel
6225d3956a Uses Lombok @NoArgsConstructor annotation instead of manually creating empty constructor in SearchQuery.java 2015-07-06 13:54:47 +02:00
CrushedPixel
a5eadd2d01 Created GuiEntryListEntry interface for GuiEntryList contained classes to avoid toString() methods from having to be abused
Created GuiFileChooser and according Listeners
Added (non-functional) GuiAssetAdder for CustomImageObjects
2015-07-06 13:44:50 +02:00
CrushedPixel
013d5963ff Created CustomObjectRenderer to allow for BufferedImages to be rendered at a given Position. This supports Zoom and Rotation on all 3 axes. 2015-07-06 00:28:57 +02:00
CrushedPixel
49e391555c Fix PathPreviewRenderer's broken Tessellator calls (the result was broken, but because the texture is symmetrical nobody noticed) 2015-07-06 00:27:57 +02:00
CrushedPixel
a444d49d70 Doesn't allow rendering if Optifine is installed and shows error screen 2015-07-05 18:16:18 +02:00
CrushedPixel
6e470fb812 Deselects Items in List after deleting Replay File using ReplayViewer 2015-07-05 18:14:32 +02:00
CrushedPixel
5f76577eed Properly multi-threaded File Reloading in GuiReplayViewer | https://trello.com/c/shUBbD2z/ 2015-07-05 15:36:05 +02:00
CrushedPixel
d62e74a6f7 updateCurrentList() Method in GuiReplayCenter properly checks for Thread.interrupted() to avoid long freeze screens when switching Tab 2015-07-05 01:51:38 +02:00
CrushedPixel
5883dbc9be Added Search Tab to Replay Center | https://trello.com/c/13VNghWz/ 2015-07-05 01:43:59 +02:00
CrushedPixel
c7bb053566 Only load Replay Files once in Replay Viewer to prevent the loader Thread from clashing with itself 2015-07-04 22:24:09 +02:00
CrushedPixel
434238c61d Unescapes HTML Character Entities in API calls | https://trello.com/c/Bm2Rk57m/ 2015-07-04 21:50:57 +02:00
CrushedPixel
57f094dddb Prevents duplicates from being added when resizing the Replay Viewer 2015-07-04 21:41:56 +02:00