Note _ Include Extended Elements - ImpulseAdventure/GUIslice GitHub Wiki
Including Extended Element Types
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
Migrating code with GUIslice_ex
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