diff options
Diffstat (limited to 'Ivy.cxx')
-rw-r--r-- | Ivy.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -34,8 +34,14 @@ GLFWmutex Ivy::ivyCbmutex = NULL; */ Ivy::Ivy() { +} +#ifdef USE_XT +void Ivy::setXtAppContext(XtAppContext cntx ) +{ + IvyC::IvyXtChannelAppContext (cntx); } +#endif #ifndef USE_GLFW Ivy::Ivy(const char* name, const char * ready, IvyApplicationCallback *callback, @@ -99,12 +105,13 @@ void Ivy::start(const char *domain) void Ivy::ivyMainLoop (void) { // DEBUG - +#ifndef USE_XT #if (IVYMAJOR_VERSION == 3) && (IVYMINOR_VERSION < 9) IvyC::IvyMainLoop(NULL, NULL); #else IvyC::IvyMainLoop(); #endif +#endif // USE_XT } #else void GLFWCALL Ivy::ivyMainLoopInSeparateThread (void *arg) |