En préparant pour les autres APIs de tablette
This commit is contained in:
parent
583d66b496
commit
83acc0ffbb
|
@ -5,9 +5,12 @@ dpf_add_plugin(yaw-tab
|
||||||
FILES_UI
|
FILES_UI
|
||||||
wtutil.cpp
|
wtutil.cpp
|
||||||
tab.cpp
|
tab.cpp
|
||||||
|
rtstylus.cpp
|
||||||
ui.cpp)
|
ui.cpp)
|
||||||
|
|
||||||
target_include_directories(yaw-tab PUBLIC
|
target_include_directories(yaw-tab PUBLIC
|
||||||
"."
|
"."
|
||||||
"../../lib/wintab"
|
"../../lib/wintab"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_compile_definitions(yaw-tab PUBLIC YAW_USE_WINTAB=1 YAW_USE_RTSTYLUS=1)
|
|
@ -1,5 +1,10 @@
|
||||||
#include "DistrhoUI.hpp"
|
#include "DistrhoUI.hpp"
|
||||||
|
#ifdef YAW_USE_WINTAB
|
||||||
#include "tab.cpp"
|
#include "tab.cpp"
|
||||||
|
#endif
|
||||||
|
#ifdef YAW_USE_RTSTYLUS
|
||||||
|
#include "rtstylus.cpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
START_NAMESPACE_DISTRHO
|
START_NAMESPACE_DISTRHO
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue