Other - Argox PA-20 Programming Manual

Portable data terminal
Hide thumbs Also See for PA-20:
Table of Contents

Advertisement

prc_menu_color
Purpose:
Create a menu-driven interface.
Syntax:
void prc_menu_color(MENU_COLOR *menu);
Example call:
void FuncMenu_01(void)
{
/*to do :add your own program code here*/
}
void FuncMenu_02(void)
{
/*to do :add your own program code here*/
}
void FuncMenu_03(void)
{
/*to do :add your own program code here*/
}
MENU_ENTRY_COLOR Menu_01 = {0,1,"1.Test Menu
01",&FuncMenu_01,0};
MENU_ENTRY_COLOR Menu_02 = {0,2,"2.Test Menu
02",&FuncMenu_02,0};
MENU_ENTRY_COLOR Menu_03 = {0,3,"3.Test Menu
03",&FuncMenu_03,0};
void prc_menu_Test(void)
{
}
#include "SDK.h "
Includes:
Description:
The prc_menu_color function is used to create a user-defined menu.
SMENU_COLOR and SMENU_ENTRY_COLOR structures are defined
in "SDK.h". Users can just fill the SMENU_ENTRY_COLOR structure and
PT-20 Programming Guide

Other

MENU_COLOR Menu_Test = {3,1,0,"Menu Test!!", COLOR_BROWN,
COLOR_BLACK, COLOR_LIGHTBLUE, {&Menu_01, &Menu_02,
&Menu_03}};
prc_menu_color (&Menu_Test);
103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pa-21Pa-2110Pa-2010

Table of Contents