From 7934aa988e690aac17a0e33275202342290c9c95 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Thu, 9 Jan 2020 09:25:42 +0100 Subject: [PATCH] Added documentation for struct Border --- menu.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/menu.h b/menu.h index 11fb573..67c905a 100644 --- a/menu.h +++ b/menu.h @@ -9,7 +9,7 @@ struct MenuItem { void* (*action)(void); }; - +/// Represents a border in which a menu is displayed. struct MenuBorder { char line_vertical; char line_horizontal; @@ -23,13 +23,6 @@ struct MenuBorder { const extern struct MenuBorder DEFAULT, MODERN, NO_BORDER, SOLID; -/// Is used for style-switching -/// Default style with asterisks around the terminal -/// Solid border with ASCII border characters -/// Minimalistic design with bar instead of start>/item> -/// No border, just plain text - - /// Displaces a CUI menu to the user and lets them choose an option, then calls the corresponding function. /// The length of the array itemv of menu items. /// An array of all menu items to display in the menu.