/programs/cmm/lib/gui.h |
---|
316,7 → 316,7 |
if (end_found != true) write_length = label_length_max; //no white space, so we write label_length_max |
} |
ESI = write_length; //set text length attribute for WriteText() |
WriteText(x+1, y, 0x10, text_col, write_start); |
WriteText(x, y, 0x10, text_col, write_start); |
// if (editpos >= write_start-buf_start) && (editpos <= write_start-buf_start + write_length) { |
// WriteTextB(-write_start+buf_start+editpos * 8 + x - 5 +1, y, 0x90, 0xFF0000, "|"); |
// } |
/programs/cmm/lib/kolibri.h |
---|
256,6 → 256,10 |
//eax = ÿçûê ñèñòåìû (1=eng, 2=fi, 3=ger, 4=rus) |
#define SYS_LANG_ENG 1 |
#define SYS_LANG_FIN 2 |
#define SYS_LANG_GER 3 |
#define SYS_LANG_RUS 4 |
inline fastcall int GetSystemLanguage() |
{ |
EAX = 26; |
/programs/cmm/lib/patterns/select_list.h |
---|
51,6 → 51,10 |
else if (mouse.down)&&(mouse.lkm) && (select_list.MouseOver(mouse.x, mouse.y)) mouse_clicked=true; |
} |
void SelectList_DrawBorder() { |
DrawRectangle3D(select_list.x-2, select_list.y-2, select_list.w+3+scroll1.size_x, select_list.h+3, system.color.work_dark, system.color.work_light); |
DrawRectangle(select_list.x-1, select_list.y-1, select_list.w+1+scroll1.size_x, select_list.h+1, system.color.work_graph); |
} |
void SelectList_DrawScroller() |
{ |