X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Ftabs.c;h=6ee6ae8200732e25c197d1a1c65f8562b573c265;hp=92e88ef56a238fc95aaef6d024c4a245a549f05f;hb=44c30618e25ce2eb103b87e84e10dcd51dad0879;hpb=b3ca5b5b2ee3b554151da3a3ace7945ccfec3a82 diff --git a/webcit/tabs.c b/webcit/tabs.c index 92e88ef56..6ee6ae820 100644 --- a/webcit/tabs.c +++ b/webcit/tabs.c @@ -1,11 +1,17 @@ /* * $Id: $ - * - * Utility functions for creating tabbed dialogs */ - +/** + * \defgroup TabUtils Utility functions for creating tabbed dialogs + */ +/*@{*/ #include "webcit.h" +/** + * \brief print tabbed dialog + * \param num_tabs how many tabs do we have? + * \param tabnames the headers of the tables + */ void tabbed_dialog(int num_tabs, char *tabnames[]) { int i; @@ -45,6 +51,11 @@ void tabbed_dialog(int num_tabs, char *tabnames[]) { wprintf("
"); } +/** + * \brief print the tab-header + * \param tabnum number of the tab to print + * \param num_tabs total number oftabs to be printed + */ void begin_tab(int tabnum, int num_tabs) { wprintf("
", tabnum, @@ -52,6 +63,11 @@ void begin_tab(int tabnum, int num_tabs) { ); } +/** + * \brief print the tab-footer + * \param tabnum number of the tab to print + * \param num_tabs total number oftabs to be printed + */ void end_tab(int tabnum, int num_tabs) { wprintf("
\n"); @@ -59,3 +75,6 @@ void end_tab(int tabnum, int num_tabs) { wprintf("
\n"); } } + + +/*@}*/