mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-28 09:19:41 +03:00
532ec0ce60
git-svn-id: svn://kolibrios.org@3076 a494cfbc-eb01-0410-851d-a64ba20cac60
50 lines
2.1 KiB
C
50 lines
2.1 KiB
C
//BOX_LIB
|
||
dword boxlib = #aEdit_box_lib; //Asper
|
||
char aEdit_box_lib[22]="/sys/lib/box_lib.obj\0"; //Asper
|
||
|
||
dword edit_box_draw = #aEdit_box_draw;
|
||
dword edit_box_key = #aEdit_box_key;
|
||
dword edit_box_mouse = #aEdit_box_mouse;
|
||
dword version_ed = #aVersion_ed;
|
||
|
||
dword am__ = 0x0;
|
||
dword bm__ = 0x0;
|
||
|
||
char aEdit_box_draw[9] = "edit_box\0";
|
||
char aEdit_box_key[13] = "edit_box_key\0";
|
||
char aEdit_box_mouse[15] = "edit_box_mouse\0";
|
||
char aVersion_ed[11] = "version_ed\0";
|
||
|
||
char aCheck_box_draw [15] = "check_box_draw\0";
|
||
char aCheck_box_mouse [16] = "check_box_mouse\0";
|
||
char aVersion_ch [11] = "version_ch\0";
|
||
|
||
char aOption_box_draw [16] = "option_box_draw\0";
|
||
char aOption_box_mouse[17] = "option_box_mouse\0";
|
||
char aVersion_op [11] = "version_op\0" ;
|
||
|
||
|
||
struct edit_box{
|
||
dword width, left, top, color, shift_color, focus_border_color, blur_border_color,
|
||
text_color, max, text, mouse_variable, flags, size, pos, offset, cl_curs_x, cl_curs_y, shift, shift_old;
|
||
};
|
||
|
||
//ed_width equ [edi] ;è¨à¨ ª®¬¯®¥â
|
||
//ed_left equ [edi+4] ;¯®«®¦¥¨¥ ¯® ®á¨ å
|
||
//ed_top equ [edi+8] ;¯®«®¦¥¨¥ ¯® ®á¨ ã
|
||
//ed_color equ [edi+12] ;梥â ä® ª®¬¯®¥â
|
||
//shift_color equ [edi+16] ;=0x6a9480
|
||
//ed_focus_border_color equ [edi+20] ;梥â à ¬ª¨ ª®¬¯®¥â
|
||
//ed_blur_border_color equ [edi+24] ;梥⠥ ªâ¨¢®£® ª®¬¯®¥â
|
||
//ed_text_color equ [edi+28] ;梥â ⥪áâ
|
||
//ed_max equ [edi+32] ;ª®«-¢® ᨬ¢®«®¢ ª®â®àë¥ ¬®¦® ¬ ªá¨¬ «ì® ¢¢¥áâ¨
|
||
//ed_text equ [edi+36] ;㪠§ â¥«ì ¡ãä¥à
|
||
//ed_flags equ [edi+40] ;ä« £¨
|
||
//ed_size equ [edi+42] ;ª®«-¢® ᨬ¢®«®¢
|
||
//ed_pos equ [edi+46] ;¯®§¨æ¨ï ªãàá®à
|
||
//ed_offset equ [edi+50] ;ᬥ饨¥
|
||
//cl_curs_x equ [edi+54] ;¯à¥¤ë¤ãé ï ª®®à¤¨ â ªãàá®à ¯® å
|
||
//cl_curs_y equ [edi+58] ;¯à¥¤ë¤ãé ï ª®®à¤¨ â ªãàá®à ¯® ã
|
||
//ed_shift_pos equ [edi+62] ;¯®«®¦¥¨¥ ªãàá®à
|
||
//ed_shift_pos_old equ [edi+66] ;áâ ஥ ¯®«®¦¥¨¥ ªãàá®à
|