diff options
author | Simon Howard | 2015-04-04 21:29:33 -0400 |
---|---|---|
committer | Simon Howard | 2015-04-04 21:29:33 -0400 |
commit | 356554c22998264769a5c516697cbfbd43847ce4 (patch) | |
tree | 69e510a287f629685eaa543fbd2677dd165e628a /textscreen/examples | |
parent | 535b4edd143ceeae870e9c13cdac65ce17e2be48 (diff) | |
download | chocolate-doom-356554c22998264769a5c516697cbfbd43847ce4.tar.gz chocolate-doom-356554c22998264769a5c516697cbfbd43847ce4.tar.bz2 chocolate-doom-356554c22998264769a5c516697cbfbd43847ce4.zip |
textscreen: Add help URL functionality for windows.
This adds the ability to associate a URL with a window that gives
some extra information about it and the configuration options found
in it.
Diffstat (limited to 'textscreen/examples')
-rw-r--r-- | textscreen/examples/guitest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c index 04d580c9..46060bf0 100644 --- a/textscreen/examples/guitest.c +++ b/textscreen/examples/guitest.c @@ -96,6 +96,8 @@ void SetupWindow(void) window = TXT_NewWindow("Window test"); + TXT_SetWindowHelpURL(window, "https://www.youtube.com/watch?v=dQw4w9WgXcQ"); + TXT_AddWidget(window, TXT_NewSeparator("Main section")); table = TXT_NewTable(3); |