menubar.c File Reference
Copyright 2004, 2008 Develer S.r.l. More...
#include "menubar.h"
#include <gfx/gfx.h>
#include <gfx/text.h>
#include <gfx/font.h>
#include <cfg/compiler.h>
#include <string.h>
Go to the source code of this file.
Defines | |
| #define | PTRLBL(x) |
| Macro to access a label iptr_t: if a char pointer get the string pointed to in program memory, otherwise return the corrispondent predefined string (see label_strings in menubar.c). | |
Functions | |
| void | mbar_init (struct MenuBar *mb, struct Bitmap *bmp, const_iptr_t labels[], int num_labels) |
| Initialize the MenuBar widget with the bitmap associated, the label names and the number of labels. | |
| void | mbar_draw (const struct MenuBar *mb) |
| Render the MenuBar on the bitmap. | |
Variables | |
| static const pgm_char | lab_1 [] = "" |
| Predefined labels. | |
Detailed Description
Copyright 2004, 2008 Develer S.r.l.(http://www.develer.com/) All Rights Reserved.
- Version:
- Id
- menubar.c 1229 2008-04-09 16:13:05Z batt
Graphics Menu bar widget
Definition in file menubar.c.
