CreativeCore icon indicating copy to clipboard operation
CreativeCore copied to clipboard

Some enhancements arroung widgets

Open SrRapero720 opened this issue 1 year ago • 5 comments

changes:

  • make more accessible GuiCounter's controls
  • add an contructor with a ControlFormatting argument to use it on +/- buttons (normal and decimal)
  • added GuiStateIconButton: same as GuiStateButton button but renders an icon instead
    • also adds controlformatting variants of clickable + no padding

SrRapero720 avatar Mar 19 '24 17:03 SrRapero720

done

SrRapero720 avatar Mar 22 '24 00:03 SrRapero720

this time i finish all the changes, but 100% sure

changes are:

  • added custom events for slider and textfield (so less casting and avoid check if x == y.
  • stripped out whole ValueParsers feature into individual-primitive parsers
  • added some constructors and methods variants to enhance in-line api usage
  • make GuiButtonIcon and GuiStateButtonIcon extends GuiIcon (reducing duplicated code)
  • added square param on GuiIcon which forces icon rendering to be squared even if button wasn't squared (disabled by default)
  • some "let me customize" changes over GuiCounterDecimal

SrRapero720 avatar Mar 25 '24 11:03 SrRapero720

this time i finish it... i will stop here and open issues for any potential enhancement or fix because this whould become more larger and i don't want that.

SrRapero720 avatar Mar 27 '24 00:03 SrRapero720

AHHH fuck

SrRapero720 avatar Mar 27 '24 01:03 SrRapero720

i save the commits :,)

SrRapero720 avatar Mar 27 '24 01:03 SrRapero720

if needs any other change tell me to fix is asap.

SrRapero720 avatar Apr 20 '24 13:04 SrRapero720

I'm still waiting for you method renames.

CreativeMD avatar Apr 20 '24 14:04 CreativeMD

i already pushed the method renames

SrRapero720 avatar Apr 20 '24 16:04 SrRapero720

https://github.com/CreativeMD/CreativeCore/pull/209/commits/46b91085e37b1ebdbd89a8e06db8e9b0bf2a36fe

SrRapero720 avatar Apr 20 '24 16:04 SrRapero720

Yes but not here.

CreativeMD avatar Apr 20 '24 16:04 CreativeMD

Never mind. I'm wrong. Will go through in a few minutes.

CreativeMD avatar Apr 20 '24 16:04 CreativeMD