# HG changeset patch # User ib # Date 1358874276 0 # Node ID a5f7a861a293213b0333349d888e410a7727006f # Parent 168aae142525f2fa2bbf6b0f97c2dd50e61c218a Revise some doxygen comments. diff -r 168aae142525 -r a5f7a861a293 gui/app/gui.h --- a/gui/app/gui.h Tue Jan 22 15:37:17 2013 +0000 +++ b/gui/app/gui.h Tue Jan 22 17:04:36 2013 +0000 @@ -25,20 +25,20 @@ #define MPLAYER_GUI_GUI_H //@{ -/// boolean symbolic constant +/// Boolean symbolic constant #if !defined(True) && !defined(False) #define True 1 #define False 0 #endif //@} -/// a pseudo stream type indicating not to change the current one +/// A pseudo stream type indicating not to change the current one #define SAME_STREAMTYPE (STREAMTYPE_DUMMY - 1) /// StreamTypes that are permitted in a playlist #define isPlaylistStreamtype (guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM) -/// check whether x/y is inside the rectangle given by top x/y and bottom x/y +/// Check whether @a x/y is inside the rectangle given by @a top @a x/y and @a bottom @a x/y. #define isInside(x, y, tx, ty, bx, by) ((x) > (tx) && (y) > (ty) && (x) < (bx) && (y) < (by)) #endif /* MPLAYER_GUI_GUI_H */ diff -r 168aae142525 -r a5f7a861a293 gui/util/bitmap.h --- a/gui/util/bitmap.h Tue Jan 22 15:37:17 2013 +0000 +++ b/gui/util/bitmap.h Tue Jan 22 17:04:36 2013 +0000 @@ -19,10 +19,7 @@ #ifndef MPLAYER_GUI_BITMAP_H #define MPLAYER_GUI_BITMAP_H -/** - * @def GUI_TRANSPARENT - * transparent color (opaque fuchsia/magenta) - */ +/// Transparent color (opaque fuchsia/magenta) #define GUI_TRANSPARENT 0xffff00ff #define ALPHA_OPAQUE 0xff000000 diff -r 168aae142525 -r a5f7a861a293 gui/util/cut.h --- a/gui/util/cut.h Tue Jan 22 15:37:17 2013 +0000 +++ b/gui/util/cut.h Tue Jan 22 17:04:36 2013 +0000 @@ -22,9 +22,9 @@ #include /** - * @def cutItem(in, out, sep, num) - * Wraps #cutItemString(): - * Extract a part of a string delimited by a separator character at most the size of @a out. + * @brief Wraps #cutItemString(): + * Extract a part of a string delimited by a separator character + * at most the size of @a out. */ #define cutItem(in, out, sep, num) cutItemString(in, out, sep, num, sizeof(out)) diff -r 168aae142525 -r a5f7a861a293 gui/util/list.h --- a/gui/util/list.h Tue Jan 22 15:37:17 2013 +0000 +++ b/gui/util/list.h Tue Jan 22 17:04:36 2013 +0000 @@ -48,16 +48,16 @@ struct urlItem *next; } urlItem; -/// @name list manager (playlist, URL list) +/// @name List manager (playlist, URL list) void *listMgr(int cmd, void *data); -/// @name char pointer list operations +/// @name Char pointer list operations //@{ void listRepl(char ***list, const char *search, const char *replace); void listSet(char ***list, const char *entry); //@} -/// @name high-level list operations +/// @name High-level list operations //@{ int add_to_gui_playlist(const char *what, int how); //@} diff -r 168aae142525 -r a5f7a861a293 gui/util/mem.h --- a/gui/util/mem.h Tue Jan 22 15:37:17 2013 +0000 +++ b/gui/util/mem.h Tue Jan 22 17:04:36 2013 +0000 @@ -26,10 +26,7 @@ #include -/** - * @def nfree(p) - * Free @a p and set it to NULL. - */ +/// Free @a p and set it to NULL. #define nfree(p) do { free(p); p = NULL; } while (0) #endif /* MPLAYER_GUI_MEM_H */