#include "widgets.h"
#include "types.h"
#include "window.h"
#include "2d.h"
#include "key.h"
#include "trace.h"
Functions | |
void | MoveSelLeft (widgetDataType *pwd, UINT16 *pCurSel) |
void | MoveSelRight (widgetDataType *pwd, UINT16 *pCurSel) |
void | MoveSelUp (widgetDataType *pwd, UINT16 *pCurSel) |
void | MoveSelDown (widgetDataType *pwd, UINT16 *pCurSel) |
void | MoveSelWithKey (widgetDataType *pwd, UINT8 keyDir, UINT16 *pCurSel) |
void | DrawWidgets (WINDOW *pWnd, const widgetDataType *pwdArray, UINT16 count, funcDraw fc, ULONG customData) |
Variables | |
LineToType | spinUpShape [] |
void DrawWidgets | ( | WINDOW * | pWnd, | |
const widgetDataType * | pwdArray, | |||
UINT16 | count, | |||
funcDraw | fc, | |||
ULONG | customData | |||
) |
References FLASH_IMAGE, widgetDataType::height, HFLIP_ROT90, RADIO_BUTTON, ROT90, SPIN_DOWN, SPIN_UP, spinUpShape, ssd_2d_rect_outline(), TEXT, TRACE5, widgetDataType::type, widgetDataType::width, widgetDataType::x, and widgetDataType::y.
void MoveSelDown | ( | widgetDataType * | pwd, | |
UINT16 * | pCurSel | |||
) |
References abs, widgetDataType::id, widgetDataType::x, and widgetDataType::y.
Referenced by MoveSelWithKey().
void MoveSelLeft | ( | widgetDataType * | pwd, | |
UINT16 * | pCurSel | |||
) |
References abs, widgetDataType::id, widgetDataType::x, and widgetDataType::y.
Referenced by MoveSelWithKey().
void MoveSelRight | ( | widgetDataType * | pwd, | |
UINT16 * | pCurSel | |||
) |
References abs, widgetDataType::id, widgetDataType::x, and widgetDataType::y.
Referenced by MoveSelWithKey().
void MoveSelUp | ( | widgetDataType * | pwd, | |
UINT16 * | pCurSel | |||
) |
References abs, widgetDataType::id, widgetDataType::x, and widgetDataType::y.
Referenced by MoveSelWithKey().
void MoveSelWithKey | ( | widgetDataType * | pwd, | |
UINT8 | keyDir, | |||
UINT16 * | pCurSel | |||
) |
References MoveSelDown(), MoveSelLeft(), MoveSelRight(), MoveSelUp(), VK_2, VK_3, VK_4, and VK_5.
LineToType spinUpShape[] |
{ {-10, 0}, {0, -2}, {8, -8}, {2, 0}, {8, 8}, {0, 2}, {-10, 0}, {0, 0} }
Referenced by DrawWidgets().