Steam Fort 0.5
Functions | Variables

src/help.cpp File Reference

#include "help.hpp"
#include "ui.hpp"
#include <iostream>

Functions

void help2Clb (Widget *w, void *data)
 Show selected help entry after click on button.
void showHelp (int index)
 Show selected help entry.
int find_help (string name)
 Find help entry with selected name.

Variables

vector< Helphelps
VBox * helpmenu = new VBox(40, SCREENHEIGHT - 19, 1)

Function Documentation

int find_help ( string  name)

Find help entry with selected name.

Parameters:
nameName of help entry
Returns:
Index of help entry.
void help2Clb ( Widget *  w,
void *  data 
)

Show selected help entry after click on button.

Parameters:
wUnused.
dataName of help entry to show.
void showHelp ( int  index)

Show selected help entry.

Parameters:
indexIndex of help entry or -1 to clear screen

Variable Documentation

VBox* helpmenu = new VBox(40, SCREENHEIGHT - 19, 1)
vector<Help> helps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines