En préparant pour les autres APIs de tablette

This commit is contained in:
yaw-man 2022-08-14 20:57:05 -03:00
parent 583d66b496
commit 83acc0ffbb
3 changed files with 8 additions and 0 deletions

View File

@ -5,9 +5,12 @@ dpf_add_plugin(yaw-tab
FILES_UI
wtutil.cpp
tab.cpp
rtstylus.cpp
ui.cpp)
target_include_directories(yaw-tab PUBLIC
"."
"../../lib/wintab"
)
target_compile_definitions(yaw-tab PUBLIC YAW_USE_WINTAB=1 YAW_USE_RTSTYLUS=1)

0
src/yaw-tab/rtstylus.cpp Normal file
View File

View File

@ -1,5 +1,10 @@
#include "DistrhoUI.hpp"
#ifdef YAW_USE_WINTAB
#include "tab.cpp"
#endif
#ifdef YAW_USE_RTSTYLUS
#include "rtstylus.cpp"
#endif
START_NAMESPACE_DISTRHO