summaryrefslogtreecommitdiff
path: root/atari/gemtk/guiwin.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-03-30 13:22:55 +0100
committerOle Loots <ole@monochrom.net>2013-03-30 13:22:55 +0100
commit52cce284382d4e9126015a4b6b9d2f6c18f4d464 (patch)
tree2bf3728052a244cc9030f53a997878c211bbc05e /atari/gemtk/guiwin.c
parent9178ede40bf0c330072f787ee375fc601cab9974 (diff)
downloadnetsurf-52cce284382d4e9126015a4b6b9d2f6c18f4d464.tar.gz
netsurf-52cce284382d4e9126015a4b6b9d2f6c18f4d464.tar.bz2
Added some comments
Diffstat (limited to 'atari/gemtk/guiwin.c')
-rw-r--r--atari/gemtk/guiwin.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c
index 0334e58df..28eea4ebd 100644
--- a/atari/gemtk/guiwin.c
+++ b/atari/gemtk/guiwin.c
@@ -673,7 +673,6 @@ GUIWIN *gemtk_wm_find(short handle)
return(NULL);
}
-
/**
* Check's if the pointer is managed by the guiwin API.
*/
@@ -690,6 +689,9 @@ GUIWIN *gemtk_wm_validate_ptr(GUIWIN *win)
return(NULL);
}
+/**
+* Add the GUIWIN to the list of handled windows.
+*/
GUIWIN *gemtk_wm_link(GUIWIN *win)
{
/* Make sure the window is not linked: */
@@ -714,6 +716,9 @@ GUIWIN *gemtk_wm_link(GUIWIN *win)
}
}
+/**
+* Remove the GUIWIN from the list of handled windows.
+*/
GUIWIN *gemtk_wm_unlink(GUIWIN *win)
{
GUIWIN * win_val;