projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completed mouse support.
[rodin/chimara.git]
/
libchimara
/
gestalt.c
diff --git
a/libchimara/gestalt.c
b/libchimara/gestalt.c
index 2316dca52cc9992e6abe2d498ff2b7ff1342e944..a9412c38b769c3c69ad6136d914804f39565105e 100644
(file)
--- a/
libchimara/gestalt.c
+++ b/
libchimara/gestalt.c
@@
-108,12
+108,15
@@
glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
case gestalt_Hyperlinks:
return 1;
case gestalt_Hyperlinks:
return 1;
- /* Hyperlinks supported on textbuffers
only at the moment
*/
+ /* Hyperlinks supported on textbuffers
and textgrids
*/
case gestalt_HyperlinkInput:
case gestalt_HyperlinkInput:
- return val == wintype_TextBuffer;
+ return val == wintype_TextBuffer || val == wintype_TextGrid;
+
+ /* Mouse support present in textgrids */
+ case gestalt_MouseInput:
+ return val == wintype_TextGrid;
/* Unsupported capabilities */
/* Unsupported capabilities */
- case gestalt_MouseInput:
case gestalt_Graphics:
case gestalt_DrawImage:
case gestalt_Sound:
case gestalt_Graphics:
case gestalt_DrawImage:
case gestalt_Sound: