You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the GUIslice library provides a number of built-in element types (ie. "widgets") in the core library GUIslice.c. A number of extended elements types have been provided in GUIslice_ex.c, including textboxes, sliders, graphs, etc.
In order to increase the ease for users in creating new elements types, I would like to eliminate the GUIslice_ex file and instead provide individual widgets in /src/elem/XWidget.c (for example). This way, it would be a simple matter to create new widgets simply by adding them to the /src/elem folder, and not needing to deal with a monolithic file.
User sketches could simply include the desired extended widget types at the top of the file, rather than needing to enable special FEATURE #defines.
Another advantage of this approach is that it would be easy for users to submit new widget types to the GUIslice repository by uploading a new standalone file, rather than having to merge with existing GUIslice code.
Intention of this change is to simplify the creation of new extended elements #120
- Migrated extended elements out of `/src/GUIslice_ex` into separate files within `/src/elem/*`
Currently, the GUIslice library provides a number of built-in element types (ie. "widgets") in the core library
GUIslice.c
. A number of extended elements types have been provided inGUIslice_ex.c
, including textboxes, sliders, graphs, etc.In order to increase the ease for users in creating new elements types, I would like to eliminate the
GUIslice_ex
file and instead provide individual widgets in/src/elem/XWidget.c
(for example). This way, it would be a simple matter to create new widgets simply by adding them to the/src/elem
folder, and not needing to deal with a monolithic file.User sketches could simply include the desired extended widget types at the top of the file, rather than needing to enable special FEATURE #defines.
Another advantage of this approach is that it would be easy for users to submit new widget types to the GUIslice repository by uploading a new standalone file, rather than having to merge with existing GUIslice code.
UPDATE:
/src/extra
to/src/elem
The text was updated successfully, but these errors were encountered: