-
Notifications
You must be signed in to change notification settings - Fork 210
Note _ Include Extended Elements
Calvin Hass edited this page Mar 1, 2019
·
6 revisions
The most recent versions of GUIslice have provided a set of extended element types in the /src/elem
directory.
- Each element type is kept in its own file to make it easier to add new types
- This change was discussed in #120
Prior versions of GUIslice provided all extended element types in a single file /src/GUIslice_ex
. This arrangement made it more difficult to introduce new custom types, hence the reason for the change.
The following change should be done at the top of your user code to update to the new arrangement:
Previous user code:
#include "GUIslice.h"
#include "GUIslice_ex.h"
#include "GUIslice_drv.h"
Remove the GUIslice_ex
include line and instead include any extended element types used:
After update:
#include "GUIslice.h"
#include "GUIslice_drv.h"
// Include any extended elements
#include "elem/XGauge.h"
#include "elem/XSlider.h"
...
For a complete list of the available extended element types, please see: src/elem