projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented dynamic title bar in player
[projects/chimara/chimara.git]
/
libchimara
/
gestalt.c
diff --git
a/libchimara/gestalt.c
b/libchimara/gestalt.c
index a9412c38b769c3c69ad6136d914804f39565105e..e3529094233d4f88cf055abc7af0023b76562421 100644
(file)
--- a/
libchimara/gestalt.c
+++ b/
libchimara/gestalt.c
@@
-115,15
+115,21
@@
glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
/* Mouse support present in textgrids */
case gestalt_MouseInput:
return val == wintype_TextGrid;
/* Mouse support present in textgrids */
case gestalt_MouseInput:
return val == wintype_TextGrid;
-
- /* Unsupported capabilities */
+
case gestalt_Graphics:
case gestalt_Graphics:
+ return 1;
+
case gestalt_DrawImage:
case gestalt_DrawImage:
+ return val == wintype_Graphics || val == wintype_TextBuffer;
+
+ case gestalt_GraphicsTransparency:
+ return 1;
+
+ /* Unsupported capabilities */
case gestalt_Sound:
case gestalt_SoundVolume:
case gestalt_SoundNotify:
case gestalt_SoundMusic:
case gestalt_Sound:
case gestalt_SoundVolume:
case gestalt_SoundNotify:
case gestalt_SoundMusic:
- case gestalt_GraphicsTransparency:
/* Selector not supported */
default:
return 0;
/* Selector not supported */
default:
return 0;