Releases: losedavidpb/gbuild-for-processing
Releases · losedavidpb/gbuild-for-processing
gBuild v5.0.0
Added
- Include utility to get float value of a color
- Colors could be customized to have a fixed range
- Provide constants for default customization of a color
- Include font properties for text components
- Utilities to define events associated to components
- Include constants for text components
- Buttons would provide information to know if it's been selected or hovered
- Provide a method that updats components of a button if it's been hovered
- Buttons with options has an event to check if key has been typed
- Constants that defines properties for dialogs
- Movement for dialogs has been implemented with events
- Sliders that can be located vertically or horizontally
Changed
- Change all constructors for colors to include direct declarations
- Replace transparent property to opaque for all components
- Update documentation for all components based on changes
- Components of a colors could be changed if they are at a fixed range
- Visual effects such as dragging, move, or hover effect are implemented with events
- Change method's names related to text component for buttons with text
Fixed
- Fix error message format
- Fix external style customization for components
- Fix fill and stroke operations at panels
- Fix opaque property to truly incorporate to components
- Fix locations for buttons at menus
- Fix examples to be compatible with current version
Removed
- Remove package info for now
- Remove prop method at all components
gBuild v4.0.0
Added
- Add new property for components to get location without the parent
- Include message error when a property was not found
- Include tint color option for images
- Include access to all image properties
- Font property for text components
Changed
- Rename setProperty method to prop
- Rename getProperty method to prop
- Method setProperty would return a boolean to check if property was changed
- Move all menus implementations to gbuild.menu package
- Move all dialogs implementations to gbuild.dialog package
- Move all buttons implementations to gbuild.button package
- Move the rest of component to gbuild package
- Text mode and alignment would return a boolean to check if property was not changed
- Mode for buttons would return a boolean to check if property was not changed
- Space for menus would return a boolean to check if property was not changed
gBuild 3.2.0
Added
- Include getProperty and setProperty to manage properties
- Constants for text properties (color, mode, aligment)
- Constants for panel properties (color, stroke, location)
- Constants for button properties (background, stroke, and color effects)
- Transparency mode for RGB color implementation
- Internal Utilities to apply fill or stroke color
- RGB colors would always return a copy
- Each component would be created with just PApplet and an optional parent
- Utility to adjust space between each option of a menu
- Stroke color for buttons
Changed
- Dialog abstraction now allows to define it's title
- Dialogs with text as its main content allow to define the message
- Update examples of use to define components with new API
Removed
- Delete utility to customize a text from a dialog
Fixed
- Fix location for each option of a menu based on visible state
- Component would always clone a global color to avoid errors for reference
- Fix adjustment for location and dimension for panels
- Colors for components would consider transparency property
- Fix location calculation when component is a panel or dialog
- Fix location and dimension modification to avoid null values