Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/gui-stub/pages.c File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Functions
pages.c File Reference
`#include "gui_stub.h"`
`#include "connectdlg_g.h"`
`#include "pages.h"`

Go to the source code of this file.

## Functions

void | gui_real_set_client_page (enum client_pages page)
void | gui_set_rulesets (int num_rulesets, char **rulesets)
enum client_pages | gui_get_current_client_page (void)
void | update_start_page (void)

## Function Documentation

## ◆ gui_get_current_client_page()

enum client_pages gui_get_current_client_page | ( | void |  | ) |

Returns current client page

Definition at line 47 of file pages.c.

Referenced by setup_gui_funcs().

## ◆ gui_real_set_client_page()

void gui_real_set_client_page | ( | enum client_pages | page | ) |

Sets the "page" that the client should show. See also pages_g.h.

Definition at line 29 of file pages.c.

Referenced by setup_gui_funcs().

## ◆ gui_set_rulesets()

void gui_set_rulesets | ( | int | num_rulesets,
|  | char ** | rulesets
| ) |  |

Set the list of available rulesets. The default ruleset should be "default", and if the user changes this then set_ruleset() should be called.

Definition at line 39 of file pages.c.

Referenced by setup_gui_funcs().

## ◆ update_start_page()

void update_start_page | ( | void |  | ) |

Update the start page.

Definition at line 56 of file pages.c.