Nilorea Library

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros Groups
Functions
lexmenu.c File Reference
`#include "lexmenu.h"`
`#include <stdio.h>`
`#include <strings.h>`
Include dependency graph for lexmenu.c:

Go to the source code of this file.

## Functions

LexMenu * | lexMenuCreate (BITMAP *bg)
LexMenu * | lexMenuDestroy (LexMenu *menu)
LexMenuItem * | lexMenuCreateItem ()
BITMAP * | lexMenu__getImg (LexMenuItem *item)
int | lexMenu__getX (LexMenuItem *item)
int | lexMenu__getY (LexMenuItem *item)
void | lexMenu__fireEvent (LexMenuEvent *event)
void | lexMenuAddItem (LexMenu *menu, LexMenuItem *item)
void | lexMenuSetCallback (LexMenuItem *item, int callbackID, LexMenuCallback func)
void | lexMenuSetImage (LexMenuItem *item, int state, BITMAP *img)
void | lexMenuSetSample (LexMenuItem *item, int event, SAMPLE *sample)
int | lexMenuRun (LexMenu *menu, BITMAP *dst)
char * | lex__createFileName (const char *filename, const char *postfix)
BITMAP * | lex__loadStateImage (const char *value, const char *postfix)
SAMPLE * | lex__loadStateSample (const char *value, const char *postfix)
LexMenuItem * | lexLoadItemFromSection (const char *itemSectionName, int id)
LexMenu * | lexLoadMenuFromFile (const char *filename, const char *screenname)
BITMAP * | lexMenuGetBitmap (LexMenu *menu, int item, int whichone)

## Detailed Description

common headers and low-level hugly functions & define

Author
  Castagnier Mickael

Version
  1.0

Date
  24/03/05

Definition in file lexmenu.c.

## Function Documentation

char* lex__createFileName | ( | const char * | filename,
|  | const char * | postfix
| ) |  |

Definition at line 520 of file lexmenu.c.

Here is the caller graph for this function:

BITMAP* lex__loadStateImage | ( | const char * | value,
|  | const char * | postfix
| ) |  |

Definition at line 547 of file lexmenu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

SAMPLE* lex__loadStateSample | ( | const char * | value,
|  | const char * | postfix
| ) |  |

Definition at line 559 of file lexmenu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

LexMenuItem* lexLoadItemFromSection | ( | const char * | itemSectionName,
|  | int | id
| ) |  |

Definition at line 571 of file lexmenu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void lexMenu__fireEvent | ( | LexMenuEvent * | event | ) |

Definition at line 132 of file lexmenu.c.

Here is the caller graph for this function:

BITMAP* lexMenu__getImg | ( | LexMenuItem * | item | ) |

Definition at line 71 of file lexmenu.c.

Here is the caller graph for this function:

int lexMenu__getX | ( | LexMenuItem * | item | ) |

Definition at line 88 of file lexmenu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int lexMenu__getY | ( | LexMenuItem * | item | ) |

Definition at line 111 of file lexmenu.c.

Here is the call graph for this function:

Here is the caller graph for this function: