forked from KolibriOS/kolibrios
50 lines
2.1 KiB
Plaintext
50 lines
2.1 KiB
Plaintext
|
//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] ;<3B><>ਭ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_left equ [edi+4] ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20>
|
|||
|
//ed_top equ [edi+8] ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20>
|
|||
|
//ed_color equ [edi+12] ;梥<> 䮭<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//shift_color equ [edi+16] ;=0x6a9480
|
|||
|
//ed_focus_border_color equ [edi+20] ;梥<> ࠬ<><E0A0AC> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_blur_border_color equ [edi+24] ;梥<> <20><> <20><>⨢<EFBFBD><E2A8A2><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_text_color equ [edi+28] ;梥<> ⥪<><E2A5AA><EFBFBD>
|
|||
|
//ed_max equ [edi+32] ;<3B><><EFBFBD>-<2D><> ᨬ<><E1A8AC><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ᨬ<EFBFBD><E1A8AC>쭮 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_text equ [edi+36] ;㪠<><E3AAA0>⥫<EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_flags equ [edi+40] ;䫠<><E4ABA0>
|
|||
|
//ed_size equ [edi+42] ;<3B><><EFBFBD>-<2D><> ᨬ<><E1A8AC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_pos equ [edi+46] ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_offset equ [edi+50] ;ᬥ饭<E1ACA5><E9A5AD>
|
|||
|
//cl_curs_x equ [edi+54] ;<3B>।<EFBFBD><E0A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>न<EFBFBD><E0A4A8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>
|
|||
|
//cl_curs_y equ [edi+58] ;<3B>।<EFBFBD><E0A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>न<EFBFBD><E0A4A8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>
|
|||
|
//ed_shift_pos equ [edi+62] ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//ed_shift_pos_old equ [edi+66] ;<3B><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|