kiss_fft/_kiss_fft_guts.h
kiss_fft/kiss_fft.c
kiss_fft/tools/kiss_fftr.c
- jogaction.cpp
- jogshuttleconfig.cpp
)
add_subdirectory(${CMAKE_SOURCE_DIR}/src/colorcorrection)
if(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD" OR NO_JOGSHUTTLE)
add_definitions(-DNO_JOGSHUTTLE)
else(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD" OR NO_JOGSHUTTLE)
- set(kdenlive_SRCS jogshuttle.cpp ${kdenlive_SRCS})
+ set(kdenlive_SRCS jogshuttle.cpp jogaction.cpp jogshuttleconfig.cpp ${kdenlive_SRCS})
endif(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD" OR NO_JOGSHUTTLE)
if(APPLE OR OPENGL_FOUND)
{
// Revert widgets to last saved state (for example when user pressed "Cancel")
// kDebug() << "// // // KCONFIG Revert called";
+#ifndef NO_JOGSHUTTLE
// revert jog shuttle device
if (m_configShuttle.shuttledevicelist->count() > 0) {
for (int i = 0; i < m_configShuttle.shuttledevicelist->count(); i++) {
if (i < actions_map.size())
button->setCurrentIndex(action_pos[actions_map[i]]);
}
+#endif
}
void KdenliveSettingsDialog::updateSettings()
saveTranscodeProfiles();
}
+#ifndef NO_JOGSHUTTLE
m_shuttleModified = false;
QStringList actions;
//fprintf(stderr, "Shuttle config: %s\n", JogShuttleConfig::actionMap(actions).toAscii().constData());
if (KdenliveSettings::shuttlebuttons() != maps)
KdenliveSettings::setShuttlebuttons(maps);
+#endif
#if KDE_IS_VERSION(4,3,0)
KConfigDialog::settingsChangedSlot();
void KdenliveSettingsDialog::slotShuttleModified()
{
+#ifndef NO_JOGSHUTTLE
QStringList actions;
actions << "monitor_pause"; // the Job rest position action.
foreach (KComboBox* button, m_shuttle_buttons) {
}
QString maps = JogShuttleConfig::actionMap(actions);
m_shuttleModified = KdenliveSettings::shuttlebuttons() != maps;
+#endif
#if KDE_IS_VERSION(4,3,0)
KConfigDialog::updateButtons();
#endif