00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __FRAME_H
00019 #define __FRAME_H
00020
00021 #ifdef __cplusplus
00022 extern "C"
00023 {
00024 #include "common/string.h"
00025 #include "gui/graphics.h"
00026 }
00027 #else
00028 #include "common/string.h"
00029 #include "gui/graphics.h"
00030 #endif
00031
00032 #include "gui/components/container.h"
00033
00034 class frame: public container
00035 {
00036 public:
00037 DD style;
00038 char title[20];
00039
00040 void frm_init(DW _id, DW _parent_id, DW _alias_id, DW _x, DW _y, DW _width, DW _height, DD _style,char *_title);
00041 void paint();
00042 void freeAll();
00043 };
00044
00045
00046 #endif