Skip to content

Commit 2a6494a

Browse files
committed
Fix the temp comments
1 parent 7c6f511 commit 2a6494a

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

include/SDL3/SDL_video.h

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,29 +3016,41 @@ typedef union SDL_MenuItem SDL_MenuItem;
30163016

30173017
extern SDL_DECLSPEC SDL_MenuItem *SDL_CreateMenuBar(SDL_Window *window);
30183018

3019-
// menu_bar_as_item must be a SDL_MENUBAR or SDL_MENU
3020-
// event_type will be ignored if type == SDL_MENU
3021-
// On MacOS, buttoms created under a menubar will go into the "App" submenu
3019+
/**
3020+
* menu_bar_as_item must be a SDL_MENUBAR or SDL_MENU
3021+
* event_type will be ignored if type == SDL_MENU
3022+
* On MacOS, buttoms created under a menubar will go into the "App" submenu
3023+
*/
30223024
extern SDL_DECLSPEC SDL_MenuItem *SDL_CreateMenuItemAt(SDL_MenuItem *menu_bar_as_item, size_t index, const char *name, SDL_MenuItemType type, Uint16 event_type);
30233025

3024-
// menu_bar_as_item must be a SDL_MENUBAR or SDL_MENU
3025-
// event_type will be ignored if type == SDL_MENU
3026-
// On MacOS, buttoms created under a menubar will go into the "App" submenu
3027-
extern SDL_DECLSPEC SDL_MenuItem *SDL_CreateMenuItem(SDL_MenuItem *menu_bar_as_item, const char *name, SDL_MenuItemType type, Uint16 event_type);
3026+
/**
3027+
* menu_bar_as_item must be a SDL_MENUBAR or SDL_MENU
3028+
* event_type will be ignored if type == SDL_MENU
3029+
* On MacOS, buttoms created under a menubar will go into the "App" submenu
3030+
*/
3031+
extern SDL_DECLSPEC SDL_MenuItem *SDL_CreateMenuItem(SDL_MenuItem *menu_bar_as_item, const char *name, SDL_MenuItemType type, Uint16 event_type);
30283032
extern SDL_DECLSPEC SDL_MenuItem *SDL_CreateMenuItemWithProperties(SDL_MenuItem *menu_bar_as_item, SDL_PropertiesID props);
30293033

3030-
// -1 on error
3031-
extern SDL_DECLSPEC Sint64 SDL_ChildItems(SDL_MenuItem *menu_bar_as_item);
3034+
/**
3035+
* -1 on error
3036+
*/
3037+
extern SDL_DECLSPEC Sint64 SDL_ChildItems(SDL_MenuItem *menu_bar_as_item);
30323038

30333039

3034-
// Must be a SDL_MENU_CHECKABLE
3035-
extern SDL_DECLSPEC bool SDL_CheckMenuItem(SDL_MenuItem *menu_item);
3040+
/**
3041+
* Must be a SDL_MENU_CHECKABLE
3042+
*/
3043+
extern SDL_DECLSPEC bool SDL_CheckMenuItem(SDL_MenuItem *menu_item);
30363044

3037-
// Must be a SDL_MENU_CHECKABLE
3038-
extern SDL_DECLSPEC bool SDL_UncheckMenuItem(SDL_MenuItem *menu_item);
3045+
/**
3046+
* Must be a SDL_MENU_CHECKABLE
3047+
*/
3048+
extern SDL_DECLSPEC bool SDL_UncheckMenuItem(SDL_MenuItem *menu_item);
30393049

3040-
// Must be a SDL_MENU_CHECKABLE
3041-
extern SDL_DECLSPEC bool SDL_MenuItemChecked(SDL_MenuItem *menu_item, bool *checked);
3050+
/**
3051+
* Must be a SDL_MENU_CHECKABLE
3052+
*/
3053+
extern SDL_DECLSPEC bool SDL_MenuItemChecked(SDL_MenuItem *menu_item, bool *checked);
30423054

30433055
extern SDL_DECLSPEC bool SDL_MenuItemEnabled(SDL_MenuItem *menu_item, bool *enabled);
30443056
extern SDL_DECLSPEC bool SDL_EnableMenuItem(SDL_MenuItem *menu_item);

0 commit comments

Comments
 (0)