aboutsummaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
2020-07-11RGB add simpler constructor without alpha (#65)Juuxel
2020-07-11RGB: add interpolate method (#64)Filip Weiss
2020-07-10Add TextureIcon opacity and tint, fix ScreenDrawing javadocsJuuxel
2020-07-10Add since tags and a package-info for the icon packageJuuxel
2020-07-10Remove unused importJuuxel
2020-07-10Add missing Nullable annotations and a getter to WButtonJuuxel
2020-07-10Add icon support for buttonsJuuxel
2020-07-10Add icon APIJuuxel
2020-07-10Add WTiledSprite.setTileWidth/Height and docs for getters and settersJuuxel
2020-07-10tiled-sprite: introduce getters for tileWidth/height (#72)Filip Weiss
2020-07-09abstract slider: fix wrong default direction for horizontal slider (#73)Filip Weiss
2020-07-01Fix player inventories not having slot peersJuuxel
2020-06-30Split box alignments into horizontal and vertical2.1.0Juuxel
2020-06-30Update dependency versions in fabric.mod.json, add Jankson dependencyJuuxel
2020-06-30Add myself to authorsJuuxel
2020-06-30Add WBox alignmentsJuuxel
2020-06-30Fix #68Juuxel
2020-06-30Add WWidget.host accessors, use them in WListPanel to avoid unsafe validationsJuuxel
2020-06-30Deprecate WWidget.createPeers and recommend using validate() insteadJuuxel
2020-06-30Add more methods for working with screen titlesJuuxel
2020-06-24Fix SyncedGuiDescription.getTitleColor using the client-sided config ↵Juuxel
instance, causing an NPE
2020-06-24Fix WItemSlot.<init> using client-only painters from common codeJuuxel
2020-06-23Add vertical alignment for WTextJuuxel
2020-06-22Add item slot filtersJuuxel
2020-06-22Add SyncedGuiDescription methods to get meaningful inventory and property ↵Juuxel
delegate fallbacks These are useful with simple screen handlers from fabric-screen-handler-api-v1.
2020-06-18Fix title positioning for real this time, add title rendering controlJuuxel
2020-06-18Fix color of player inventory labels not matching the title color of the GUIJuuxel
2020-06-18Fix the screen title being drawn at an incorrect position, add title ↵Juuxel
coordinate support to CottonClientScreen
2020-06-18Fix dirty GL scissors being used when the screen applies no other scissorsJuuxel
2020-06-18Add a global scissor stack for nested scissor support (#59)Juuxel
* Add a global scissor stack for nested scissor support * Fix scissors not having proper dimensions, add check for negatives
2020-06-18Move WWidget.addTooltip to use StringRenderablesJuuxel
2020-06-18Alignment -> HorizontalAlignment, add vertical alignment for labelsJuuxel
2020-06-17Update to pre8Juuxel
2020-06-17Add fullscreen GUIsJuuxel
Closes #66.
2020-06-17Make SyncedGuiDescription constructors take the screen handler typeJuuxel
2020-06-17Add missing since tagsJuuxel
2020-06-15RGB add simpler constructor without alphaFilip Weiss
2020-06-14ScreenDrawing: add ability to draw opaque textures (#63)Filip Weiss
2020-06-13implement a WTiledSprite widget (#62)Filip Weiss
* implement a WTiledSprite widget * tiledSprite: new constuctor, cleanup api and comments * Update GuiTest/src/main/java/io/github/cottonmc/test/client/TestClientGui.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-06-05CottonInventoryController -> SyncedGuiDescriptionJuuxel
2020-06-05CottonInventoryScreen: Add constructor with screen title, documentJuuxel
2020-06-05Document WLabel and WText methods, add missing accessors to WTextJuuxel
2020-06-051.16-pre2Juuxel
- All Text usages apart from screen titles have been replaced with class_5348 - WLabel. and WText. getTextAt has been replaced by getTextStyleAt to match vanilla functionality - CottonInventoryScreen.drawForeground - Prevents vanilla from rendering the player inventory label (already rendered by us and not needed in every GUI) - The title is now rendered using the title coordinate fields like in vanilla
2020-05-22Document PropertyDelegateHolderunstable/2.0Juuxel
2020-05-21Add automatic scroll bar detection for scroll panelsJuuxel
2020-05-21Add focusing support for scroll barsJuuxel
Closes #57.
2020-05-21Expose WAbstractSlider.isIncreasing/DecreasingKey as a public APIJuuxel
2020-05-21Add sub-widget focusing and item slot focusingJuuxel
Widgets can now have inner parts of themselves focused that will be cycled. This is basically the panel focusing system without the pivot.
2020-05-21Add toggle button focusing (#57)Juuxel
2020-05-21Fix player inventories resizing their labels to 18x18Juuxel