X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fgestalt.c;h=2316dca52cc9992e6abe2d498ff2b7ff1342e944;hb=b1a03904003733d21bf579e37316cc2906eb7e49;hp=1729a878350c9c333eab0f88d6ea321583f61bbd;hpb=08f91ed533b4e0634d482ec1af638b5288ef9d6c;p=rodin%2Fchimara.git diff --git a/libchimara/gestalt.c b/libchimara/gestalt.c index 1729a87..2316dca 100644 --- a/libchimara/gestalt.c +++ b/libchimara/gestalt.c @@ -103,6 +103,14 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen) /* Timer capabilities present */ case gestalt_Timer: return 1; + + /* Hyperlink capabilities present */ + case gestalt_Hyperlinks: + return 1; + + /* Hyperlinks supported on textbuffers only at the moment */ + case gestalt_HyperlinkInput: + return val == wintype_TextBuffer; /* Unsupported capabilities */ case gestalt_MouseInput: @@ -111,8 +119,6 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen) case gestalt_Sound: case gestalt_SoundVolume: case gestalt_SoundNotify: - case gestalt_Hyperlinks: - case gestalt_HyperlinkInput: case gestalt_SoundMusic: case gestalt_GraphicsTransparency: /* Selector not supported */