Defines |
| #define | STAT_BAR_WIDTH 60 |
| #define | PARTY_STAT_BAR() snprintf(bars, sizeof(bars), "<x=5><bar=#000000 %d 4><bar=#cb0202 %d 4><y=4><bar=#000000 %d 4><bar=#1818a4 %d 4><y=4><bar=#000000 %d 4><bar=#15bc15 %d 4>", STAT_BAR_WIDTH, (int) (STAT_BAR_WIDTH * (hp / 100.0)), STAT_BAR_WIDTH, (int) (STAT_BAR_WIDTH * (sp / 100.0)), STAT_BAR_WIDTH, (int) (STAT_BAR_WIDTH * (grace / 100.0))); |
Functions |
| static void | list_handle_enter (list_struct *list) |
| static void | list_row_highlight (list_struct *list, SDL_Rect box) |
| static void | list_row_selected (list_struct *list, SDL_Rect box) |
| void | widget_party_background (widgetdata *widget) |
| void | widget_party_render (widgetdata *widget) |
| void | widget_party_mevent (widgetdata *widget, SDL_Event *event) |
| void | PartyCmd (unsigned char *data, int len) |
Variables |
| static button_struct | button_close |
|
static button_struct | button_help |
|
static button_struct | button_parties |
|
static button_struct | button_members |
|
static button_struct | button_form |
|
static button_struct | button_leave |
|
static button_struct | button_password |
|
static button_struct | button_chat |
| static sint8 | list_contents = -1 |
Handles the party widget.
Definition in file party.c.