cp ../interpreters/nitfol/.libs/nitfol.so Chimara/interpreters/
# Games
-cp ../tests/anchor.z8 iliad/Chimara/games/
-cp ../tests/CoSv3.blb iliad/Chimara/games/
+cp ../tests/anchor.z8 Chimara/games/
+cp ../tests/CoSv3.blb Chimara/games/
# Create zip file
-zip -r chimara-${VERSION}.zip Chimara
+tar czvf chimara-${VERSION}.tar.gz Chimara
-echo "Iliad package created: chimara-${VERSION}.zip"
+echo "Iliad package created: chimara-${VERSION}.tar.gz"
cd chimara
export HOME=`pwd`
#./xepdmgr :0 ./iliad ../games/anchor.z8
-./iliad ../games/anchor.z8
+./chimara ../games/anchor.z8
}
static void
-iliad_popup_keyboard()
+iliad_init_toolbar()
{
erIpcStartClient(ER_TOOLBAR_CHANNEL, &ertoolbarChannel);
tbSelectIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);
tbSetStatePlatformIcon(ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_keyboard, iconState_selected);
}
+static void
+iliad_clear_toolbar()
+{
+ // Turn on trashcan
+ tbSetStatePlatformIcon(ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_trashcan, iconState_normal );
+
+ // Disable the keyboard
+ tbSetStatePlatformIcon(ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_keyboard, iconState_normal);
+}
+
int
main(int argc, char *argv[])
{
}
//chimara_glk_run( CHIMARA_GLK(glk), ".libs/multiwin.so", argc, argv, NULL);
- iliad_popup_keyboard();
+ iliad_init_toolbar();
gdk_threads_enter();
gtk_main();
chimara_glk_stop(CHIMARA_GLK(glk));
chimara_glk_wait(CHIMARA_GLK(glk));
+ iliad_clear_toolbar();
+
return 0;
}