文件名称:Menu_onPC
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 779kb
- 下载次数:
- 0次
- 提 供 者:
- h***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本代码包为本人的一篇文章<一个占用内存极少的菜单系统的实现>在在PC上的测试移植代码。
------------------------------
Menu_Src目录为Menu的源代码
Ks0108.C的void Display_Locate(unsigned char DisplayData, unsigned char X, unsigned char Y)函数为最底层的显示函数。
该函数调用LCD模拟函数来完成显示。
KeyScan.C的unsigned char KeyScan(void)函数为键盘模拟函数。
void DelayMs( WORD time ) 延时
------------------------------
GUI_SIM.exe为编译后的文件,可以直观看到这个GUI的效果.
PC键盘的4个按键控制菜单周转:
PC按键 菜单中功能
up 向上键 确定键 进入子菜单
down向下键 取消键 返回父菜单
left向左键 向上键 菜单项上一项
right向右键 向下键 菜单项下一项
有兴趣自己编译VC工程:\Project\Menu.dsw
<一个占用内存极少的菜单系统的实现>相关PDF文档和其他资料在以下链接:
http://www.ouravr.com/bbs/bbs_content.jsp?bbs_sn=798580&bbs_page_no=3&bbs_id=9999
-err
------------------------------
Menu_Src目录为Menu的源代码
Ks0108.C的void Display_Locate(unsigned char DisplayData, unsigned char X, unsigned char Y)函数为最底层的显示函数。
该函数调用LCD模拟函数来完成显示。
KeyScan.C的unsigned char KeyScan(void)函数为键盘模拟函数。
void DelayMs( WORD time ) 延时
------------------------------
GUI_SIM.exe为编译后的文件,可以直观看到这个GUI的效果.
PC键盘的4个按键控制菜单周转:
PC按键 菜单中功能
up 向上键 确定键 进入子菜单
down向下键 取消键 返回父菜单
left向左键 向上键 菜单项上一项
right向右键 向下键 菜单项下一项
有兴趣自己编译VC工程:\Project\Menu.dsw
<一个占用内存极少的菜单系统的实现>相关PDF文档和其他资料在以下链接:
http://www.ouravr.com/bbs/bbs_content.jsp?bbs_sn=798580&bbs_page_no=3&bbs_id=9999
-err
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Menu
....\GUI
....\...\Config
....\...\......\GUIConf.h
....\...\......\GUITouchConf.h
....\...\......\LCDConf.h
....\...\......\note.txt
....\...\ConvertColor
....\...\............\CCConvertColor.bat
....\...\............\LCDP111.c
....\...\............\LCDP222.c
....\...\............\LCDP233.c
....\...\............\LCDP323.c
....\...\............\LCDP332.c
....\...\............\LCDP444.c
....\...\............\LCDP555.c
....\...\............\LCDP565.c
....\...\............\LCDP8666.c
....\...\............\LCDPM233.c
....\...\............\LCDPM323.c
....\...\............\LCDPM332.c
....\...\............\LCDPM555.c
....\...\............\LCDPM565.c
....\...\ConvertMono
....\...\...........\CCConvertMono.bat
....\...\...........\LCDP0.c
....\...\...........\LCDP2.c
....\...\...........\LCDP4.c
....\Menu_PC.exe
....\Menu_Src
....\........\ASCII.c
....\........\Chinese.C
....\........\Chinese.txt
....\........\CPU.H
....\........\KeyScan.C
....\........\KeyScan.H
....\........\Ks0108.C
....\........\Ks0108.H
....\........\Main.C
....\........\Menu.C
....\........\Menu.H
....\........\MenuFSM.C
....\........\MenuFunc.C
....\........\MenuLanguage.C
....\........\MenuMain.C
....\........\MenuMeasure.C
....\........\MenuPara.C
....\........\MenuTop.C
....\........\PIC.C
....\Project
....\.......\Debug
....\.......\GUI_SIM
....\.......\.......\Debug
....\.......\.......\Menu_PC.dsp
....\.......\.......\Menu_PC.plg
....\.......\Menu.dsw
....\.......\Menu.ncb
....\.......\Menu.opt
....\ReadMe.txt
....\Resource
....\........\Device.bmp
....\........\Device1.bmp
....\........\emWin.aps
....\........\emWin.rc
....\........\resource.h
....\........\Simulation.res
....\........\small.ico
....\Simulation
....\..........\ASCII.C
....\..........\Chinese.C
....\..........\Chinese.txt
....\..........\CPU.H
....\..........\K90Ti_LCD.C
....\..........\K90Ti_LCD.H
....\..........\SIM.H
....\..........\SIM_X.c
....\Source
....\......\Branding.c
....\......\Branding.h
....\......\Common.h
....\......\DBG.H
....\......\emWin.c
....\......\emWin.cpp
....\......\emWin.h
....\......\GUI.H
....\......\GUI_X_SIM.c
....\......\GUI_X_SIM.h
....\......\LCD.H
....\......\LCDInfo0.c
....\......\LCDSIM.c
....\......\LCDSIM.H
....\......\LCD_SIM.h
....\......\LCD_X_SIM.c
....\......\Main.c
....\......\SIM_Hardkey.c
....\......\SIM_X.c
....\......\SIM_X.h
....\GUI
....\...\Config
....\...\......\GUIConf.h
....\...\......\GUITouchConf.h
....\...\......\LCDConf.h
....\...\......\note.txt
....\...\ConvertColor
....\...\............\CCConvertColor.bat
....\...\............\LCDP111.c
....\...\............\LCDP222.c
....\...\............\LCDP233.c
....\...\............\LCDP323.c
....\...\............\LCDP332.c
....\...\............\LCDP444.c
....\...\............\LCDP555.c
....\...\............\LCDP565.c
....\...\............\LCDP8666.c
....\...\............\LCDPM233.c
....\...\............\LCDPM323.c
....\...\............\LCDPM332.c
....\...\............\LCDPM555.c
....\...\............\LCDPM565.c
....\...\ConvertMono
....\...\...........\CCConvertMono.bat
....\...\...........\LCDP0.c
....\...\...........\LCDP2.c
....\...\...........\LCDP4.c
....\Menu_PC.exe
....\Menu_Src
....\........\ASCII.c
....\........\Chinese.C
....\........\Chinese.txt
....\........\CPU.H
....\........\KeyScan.C
....\........\KeyScan.H
....\........\Ks0108.C
....\........\Ks0108.H
....\........\Main.C
....\........\Menu.C
....\........\Menu.H
....\........\MenuFSM.C
....\........\MenuFunc.C
....\........\MenuLanguage.C
....\........\MenuMain.C
....\........\MenuMeasure.C
....\........\MenuPara.C
....\........\MenuTop.C
....\........\PIC.C
....\Project
....\.......\Debug
....\.......\GUI_SIM
....\.......\.......\Debug
....\.......\.......\Menu_PC.dsp
....\.......\.......\Menu_PC.plg
....\.......\Menu.dsw
....\.......\Menu.ncb
....\.......\Menu.opt
....\ReadMe.txt
....\Resource
....\........\Device.bmp
....\........\Device1.bmp
....\........\emWin.aps
....\........\emWin.rc
....\........\resource.h
....\........\Simulation.res
....\........\small.ico
....\Simulation
....\..........\ASCII.C
....\..........\Chinese.C
....\..........\Chinese.txt
....\..........\CPU.H
....\..........\K90Ti_LCD.C
....\..........\K90Ti_LCD.H
....\..........\SIM.H
....\..........\SIM_X.c
....\Source
....\......\Branding.c
....\......\Branding.h
....\......\Common.h
....\......\DBG.H
....\......\emWin.c
....\......\emWin.cpp
....\......\emWin.h
....\......\GUI.H
....\......\GUI_X_SIM.c
....\......\GUI_X_SIM.h
....\......\LCD.H
....\......\LCDInfo0.c
....\......\LCDSIM.c
....\......\LCDSIM.H
....\......\LCD_SIM.h
....\......\LCD_X_SIM.c
....\......\Main.c
....\......\SIM_Hardkey.c
....\......\SIM_X.c
....\......\SIM_X.h