Beispiel #1
0
///----------------------------------------------------------------------------
///	Function Break
///----------------------------------------------------------------------------
void BatteryMn(INPUT_MSG_STRUCT msg)
{
	static WND_LAYOUT_STRUCT wnd_layout;
	static MN_LAYOUT_STRUCT mn_layout;

	BatteryMnProc(msg, &wnd_layout, &mn_layout);

	if (g_activeMenu == BATTERY_MENU)
	{
		BatteryMnDsply(&wnd_layout);
		WriteMapToLcd(g_mmap);
	}
}
Beispiel #2
0
///----------------------------------------------------------------------------
///	Function Break
///----------------------------------------------------------------------------
void LoadRecordMenu(INPUT_MSG_STRUCT msg)
{
    static WND_LAYOUT_STRUCT wnd_layout;
    static MN_LAYOUT_STRUCT mn_layout;

    LoadRecordMenuProc(msg, &wnd_layout, &mn_layout);

    if (g_activeMenu == LOAD_REC_MENU)
    {
        DisplaySelectMenu(&wnd_layout, &mn_layout, TITLE_CENTERED);
        WriteMapToLcd(g_mmap);
    }
}
Beispiel #3
0
///----------------------------------------------------------------------------
///	Function Break
///----------------------------------------------------------------------------
void SummaryMenu(INPUT_MSG_STRUCT msg)
{
	static WND_LAYOUT_STRUCT wnd_layout;
	//static MN_LAYOUT_STRUCT mn_layout;
	//BOOL mode = 0;

	SummaryMenuProc(msg, &wnd_layout);
	
	if (g_activeMenu == SUMMARY_MENU)
	{
		SummaryMenuDisplay(&wnd_layout);
		WriteMapToLcd(g_mmap);
	}
}
Beispiel #4
0
///----------------------------------------------------------------------------
///	Function Break
///----------------------------------------------------------------------------
void TimerModeDateMenu (INPUT_MSG_STRUCT msg)
{
	static WND_LAYOUT_STRUCT wnd_layout;
	static MN_LAYOUT_STRUCT mn_layout;
	static REC_MN_STRUCT mn_rec[6];

	TimerModeDateMenuProc(msg, mn_rec, &wnd_layout, &mn_layout);

	if (g_activeMenu == TIMER_MODE_DATE_MENU)
	{
		TimerModeDateMenuDisplay(mn_rec, &wnd_layout, &mn_layout);
		WriteMapToLcd(g_mmap);
	}
}
Beispiel #5
0
///----------------------------------------------------------------------------
///	Function Break
///----------------------------------------------------------------------------
void FillLcdDisplay(void)
{
	// Turn all of the LCD pixels on (1's), effectively filling the display
	memset(&(g_mmap[0][0]), 0xFF, sizeof(g_mmap));
	WriteMapToLcd(g_mmap);
}
Beispiel #6
0
///----------------------------------------------------------------------------
///	Function Break
///----------------------------------------------------------------------------
void ClearLcdDisplay(void)
{
	// Turn all of the LCD pixels off (0's), effectively clearing the display
	memset(&(g_mmap[0][0]), 0, sizeof(g_mmap));
	WriteMapToLcd(g_mmap);
}