SCRCNTL.H
上传用户:sycq158
上传日期:2008-10-22
资源大小:15361k
文件大小:1k
- #ifndef _SCREENCONTROL_
- #define _SCREENCONTROL_
- #include "os.h"
- #ifdef OS_DOS
- typedef UCHAR * screen_ptr;
- #endif
- #ifdef OS_WINDOWS
- typedef HDC screen_ptr;
- #endif
- void Init_Screen(short width, short height);
- void Activate_Graphics();
- void End_Graphics();
- void Change_Screen(short width, short height);
- void Set_Screen_Window(screen_ptr new_screen_ptr);
- screen_ptr Get_Screen_Window();
- #ifdef OS_WINDOWS
- void Set_Stretch_Factor(short new_factor);
- short Get_Stretch_Factor();
- #endif
- #endif