Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-sdl3/menu.h File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Functions
menu.h File Reference
`#include "menu_g.h"`

Go to the source code of this file.

## Functions

void | create_units_order_widgets (void)
void | delete_units_order_widgets (void)
void | update_order_widgets (void)
void | undraw_order_widgets (void)
void | disable_order_buttons (void)
void | enable_order_buttons (void)

## Function Documentation

## ◆ create_units_order_widgets()

void create_units_order_widgets | ( | void |  | ) |

Create units order widgets.

Definition at line 398 of file menu.c.

Referenced by show_game_page().

## ◆ delete_units_order_widgets()

void delete_units_order_widgets | ( | void |  | ) |

Free resources allocated for unit order widgets.

Definition at line 940 of file menu.c.

Referenced by close_game_page().

## ◆ disable_order_buttons()

void disable_order_buttons | ( | void |  | ) |

Disable all unit order buttons.

Definition at line 1463 of file menu.c.

Referenced by disable_main_widgets().

## ◆ enable_order_buttons()

void enable_order_buttons | ( | void |  | ) |

Enable all unit order buttons.

Definition at line 1473 of file menu.c.

Referenced by enable_main_widgets(), and show_game_page().

## ◆ undraw_order_widgets()

void undraw_order_widgets | ( | void |  | ) |

Clear unit order widgets from view.

Definition at line 961 of file menu.c.

Referenced by disable_order_buttons(), enable_order_buttons(), popdown_all_game_dialogs(), real_menus_update(), toggle_map_window_callback(), and toggle_unit_info_window_callback().

## ◆ update_order_widgets()

void update_order_widgets | ( | void |  | ) |

Draw order widgets to their currently correct place.

Definition at line 952 of file menu.c.

Referenced by real_resize_window_callback(), toggle_map_window_callback(), and toggle_unit_info_window_callback().