Username404-59
|
8a65839816
|
Always execute actions of toggleable buttons
|
2021-05-01 19:38:21 +02:00 |
Username404-59
|
ee163fe312
|
Fix the logic of toggleable buttons
|
2021-05-01 19:31:15 +02:00 |
Username404-59
|
b3201bfa3c
|
Add FontUtil.kt
|
2021-05-01 19:21:45 +02:00 |
Username404-59
|
833cac5ccd
|
Make a ClickBox.buttons a Set instance
|
2021-05-01 18:12:50 +02:00 |
Username404-59
|
b3c7fb1325
|
Implement the behaviour of Type.TOGGLE in ClickButton.kt
|
2021-05-01 17:38:57 +02:00 |
Username404-59
|
f85ed7e605
|
Use black text for buttons
|
2021-05-01 16:55:28 +02:00 |
Username404-59
|
0f0c4de85b
|
Add titles to buttons
|
2021-05-01 16:35:23 +02:00 |
Username404-59
|
09536ddbb1
|
Add WIP buttons and scrollbars to clickboxes
|
2021-05-01 15:56:08 +02:00 |
Username404-59
|
c23ad38d54
|
Take doubles as arguments in fromRenderable
|
2021-04-30 19:53:35 +02:00 |
Username404-59
|
60bf5377cd
|
Move a few methods
|
2021-04-30 19:48:53 +02:00 |
Username404-59
|
b4b137560c
|
Move ClickBox.kt to a new package (fr.username404.snowygui.gui.elements) and add a method to Element.kt
|
2021-04-30 19:10:04 +02:00 |
Username404-59
|
c54ac5b1f8
|
Make the color and opacity properties of the ColoredElement class private
|
2021-04-30 14:58:36 +02:00 |
Username404-59
|
7ddbf934f7
|
Element.kt: Keep the original x and y coordinates in memory
|
2021-04-30 14:51:22 +02:00 |
Username404-59
|
aa4d7e3743
|
Protect the setter of Element.hidden
|
2021-04-29 21:06:38 +02:00 |
Username404-59
|
7cc0f17fc4
|
Use the default configuration as a fallback in Configuration.kt
|
2021-04-29 20:46:52 +02:00 |
Username404-59
|
ab0b6e66c8
|
Log the stacktraces of errors when rendering elements in debug mode
|
2021-04-29 12:33:09 +02:00 |
Username404-59
|
1b656ee8b1
|
Make the mixin classes abstract
|
2021-04-28 21:34:17 +02:00 |
Username404-59
|
9dd9b852de
|
Remove bad logging
|
2021-04-28 20:39:59 +02:00 |
Username404-59
|
78e1081aba
|
Make SnowyScreen.components not-null
|
2021-04-28 20:38:59 +02:00 |
Username404-59
|
996572884e
|
Improve movement of GUI elements in ClickGui.kt
|
2021-04-28 20:22:54 +02:00 |
Username404-59
|
d113c13ecc
|
Make ClickGui.kt an object
|
2021-04-28 15:08:22 +02:00 |
Username404-59
|
c2b87fddbc
|
Add kotlinx-coroutines + kotlinx-datetime, and save Configuration.obtained when it is constructed
|
2021-04-28 11:33:41 +02:00 |
Username404-59
|
b828b41354
|
Make AddKeyMaps.mkMap() an internal function with jvm overloads.
|
2021-04-27 17:04:47 +02:00 |
Username404-59
|
203ea34ee7
|
Add a method to the SnowyScreen companion object
|
2021-04-23 23:21:50 +02:00 |
Username404-59
|
73624dbf2d
|
Use the extract method from config4k in Configuration.kt
|
2021-04-23 16:29:00 +02:00 |
Username404-59
|
5f96c53845
|
Assign the result variable to a parsed file in the try-catch statement of Configuration.kt
|
2021-04-23 15:51:35 +02:00 |
Username404-59
|
1c3981a81a
|
Fix the result variable not being initialized, again.
|
2021-04-23 15:42:31 +02:00 |
Username404-59
|
13898d9de0
|
Write to the config file only at exit
|
2021-04-23 15:38:55 +02:00 |
Username404-59
|
994a377a26
|
Save the Snowy configuration at exit
|
2021-04-23 15:29:48 +02:00 |
Username404-59
|
0c107be94b
|
Fix the result value of Configuration.obtained not being initialized
|
2021-04-23 11:57:36 +02:00 |
Username404-59
|
b2abce966a
|
Add a tabulation character to loggin in the Element.display() method
|
2021-04-22 20:52:54 +02:00 |
Username404-59
|
b0e9747fcf
|
Improve error catching in Element.kt
|
2021-04-22 20:32:17 +02:00 |
Username404-59
|
4b80235049
|
Make the result variable non-null in Configuration.kt
|
2021-04-22 16:48:54 +02:00 |
Username404-59
|
de833629ec
|
Add a parameter to the colorEnd method in Element.kt and make Configuration.obtained a jvm field
|
2021-04-22 12:42:42 +02:00 |
Username404-59
|
517a653d67
|
Annotate the Snowy logger with @JvmField
|
2021-04-21 19:25:37 +02:00 |
Username404-59
|
dac1294ee3
|
Add a configuration made using the config4k library
|
2021-04-16 22:44:03 +02:00 |
Username404-59
|
7c0fe6119a
|
Remove architectury's injectables.
|
2021-04-16 13:10:39 +02:00 |
Username404-59
|
70b0772517
|
Revert "Replace VertexConsumer.colorEnd() with a new ColoredElement.setColor() method."
This reverts commit a9825ac5ccdbdd5c17d7937e87d15c288fa562e3.
|
2021-04-15 22:08:25 +02:00 |
Username404-59
|
09168d1c23
|
Replace VertexConsumer.colorEnd() with a new ColoredElement.setColor() method.
|
2021-04-15 14:00:02 +02:00 |
Username404-59
|
cf75e7be39
|
Use proguard to shrink the produced .jar files, and completely remove the exec package + the bundled font.
|
2021-04-14 13:56:34 +02:00 |
Username404-59
|
4a470ee779
|
Use readBytes instead of readAllBytes in info.kt
|
2021-04-13 12:49:03 +02:00 |
Username404-59
|
6f5ef9dace
|
Revert "Add a try and catch in the render function of ClickBox.kt."
This reverts commit 56896651a3622194660d57c733ab55be841b56b8.
|
2021-04-13 10:48:37 +02:00 |
Username404-59
|
5df5199098
|
Add a try and catch in the Element.display() method, and add an element to render a background in the config screen
|
2021-04-13 10:48:33 +02:00 |
Username404-59
|
ad3fb8be7a
|
Add a try and catch in the render function of ClickBox.kt.
|
2021-04-12 23:44:15 +02:00 |
Username404-59
|
7f916d82bb
|
Add (buggy) movement of components in the ClickGui class.
|
2021-04-12 15:06:35 +02:00 |
Username404-59
|
c06535047c
|
Don't multiply the full height in ClickBox.kt
|
2021-04-11 20:12:32 +02:00 |
Username404-59
|
31bb7be602
|
Add a colorEnd() method to the companion object of ColoredElement, render more things in the ClickBox class and edit en_us.json
|
2021-04-11 12:23:53 +02:00 |
Username404-59
|
f3d291e180
|
Test if the poseStack argument in the render method of ClickBox.kt is null.
|
2021-04-11 09:39:38 +02:00 |
Username404-59
|
1ce635dbcf
|
Add a new ClickBox and don't add 10 to the x and y coordinates.
|
2021-04-10 21:22:19 +02:00 |
Username404-59
|
0bbf7a00ff
|
Woops, use a value of 1.5 instead.
|
2021-04-10 19:36:55 +02:00 |
Username404-59
|
37376fdc6a
|
Fix the Y axis of the rendered strings.
|
2021-04-10 19:35:59 +02:00 |
Username404-59
|
3636c74851
|
Rename Box to ClickBox, make a ColoredElement class, draw strings and add more translations
|
2021-04-10 19:17:46 +02:00 |
Username404-59
|
029382c9b5
|
Name the companion object of Element and rename BaseColor to TransparentColor.
|
2021-04-10 15:34:30 +02:00 |
Username404-59
|
bf5c276178
|
Add a companion object to Element.kt and remove the rendering package
|
2021-04-10 15:17:05 +02:00 |
Username404-59
|
c50ce0696f
|
Remove an useless part of the Util object, and add a poseStack argument to the render function of the Renderable interface.
|
2021-04-10 15:03:23 +02:00 |
Username404-59
|
03f2963486
|
Add GUI utils.
|
2021-04-10 14:41:42 +02:00 |
Username404-59
|
7416bd0ee9
|
Add an Events system, a mixin for ends of ticks, and ConfigScreen.kt.
|
2021-04-09 20:48:01 +02:00 |
Username404-59
|
de806a742c
|
Optimize imports and use the class's name for the logger.
|
2021-04-09 15:24:19 +02:00 |
Username404-59
|
6bb1e6eac8
|
Use forge events in forgeInit.kt, and add a @JvmStatic annotation to the logger in Snowy.kt
|
2021-04-09 15:20:08 +02:00 |
Username404-59
|
3b55558ca4
|
Add a logger to CommonSnow.kt, and rename it to Snowy.kt.
|
2021-04-09 14:30:24 +02:00 |
Username404-59
|
0135d1b6ed
|
Make list fully a mutable map instead of just a map.
|
2021-04-09 14:04:55 +02:00 |
Username404-59
|
42b48f7065
|
Use a Map instead of a list in AddKeyMaps.kt.
|
2021-04-09 13:53:14 +02:00 |
Username404-59
|
c98057904a
|
Add text and a font to the info window
|
2021-04-09 12:22:44 +02:00 |
Username404-59
|
bc77080124
|
Make the window in info.kt visible.
|
2021-04-09 10:06:02 +02:00 |
Username404-59
|
bfce71b386
|
Move lang files to the right directory
|
2021-04-08 21:34:46 +02:00 |
Username404-59
|
76f483e6a9
|
Use adequate strings in the mkMap function and in the SnowyConfigScreen class.
|
2021-04-08 21:26:32 +02:00 |
Username404-59
|
fd29413768
|
Remove the old one.
|
2021-04-08 21:22:45 +02:00 |
Username404-59
|
9ca7af418a
|
Separate assets.snowygui into 2 directories.
|
2021-04-08 21:21:41 +02:00 |
Username404-59
|
dde0a4f86a
|
Fix the mkMap function.
|
2021-04-08 20:58:03 +02:00 |
Username404-59
|
5706e9cb16
|
Add a few lang files.
|
2021-04-08 20:55:40 +02:00 |
Username404-59
|
073e3e64cb
|
Rename keysAccessor to KeysAccessor.
|
2021-04-08 20:42:07 +02:00 |
Username404-59
|
e39df66c13
|
Fix keysAccessor by making it an interface.
|
2021-04-08 20:12:54 +02:00 |
Username404-59
|
48116b81fd
|
Add keybinds and use fabric's mixins for the :common gradle project.
|
2021-04-08 20:01:03 +02:00 |
Username404-59
|
4b9a04a431
|
Add a .png version of the icon.
|
2021-04-08 15:45:09 +02:00 |
Username404-59
|
f8b2f3091e
|
Move info.kt to the kotlin directory.
|
2021-04-08 14:54:27 +02:00 |
Username404-59
|
f1d769fd96
|
Move a comment from a class to another
|
2021-04-08 14:18:10 +02:00 |
Username404-59
|
4323cb4834
|
Woops, forgot to commit the info.kt and ConfigScreen.kt files.
|
2021-04-08 14:14:24 +02:00 |
Username404-59
|
2b785ee9a2
|
Add a Jenkinsfile and a few other things
|
2021-04-08 14:13:37 +02:00 |
Username404-59
|
184d1f7f8f
|
Specify the mappings dependency only in the root project, and don't shadow every dependency.
|
2021-04-08 13:23:45 +02:00 |
Username404-59
|
3439da3e6b
|
Use a shadowC configuration, make an info window instead of an "installer", and include fabric-resource-loader-v0.
|
2021-04-08 12:55:20 +02:00 |
Username404-59
|
1c22266d7c
|
Add a package for the installer
|
2021-04-08 11:45:30 +02:00 |
Username404-59
|
6771734add
|
Change a few packages and fix the fabric.mod.json file
|
2021-04-08 11:28:14 +02:00 |
Username404-59
|
f0fe913d7c
|
Add mod information files for fabric and forge.
|
2021-04-08 10:52:22 +02:00 |
Username404-59
|
08f0a50a55
|
Initial commit.
|
2021-04-08 10:18:46 +02:00 |