Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5778 → Rev 5777

/programs/cmm/lib/font.h
158,8 → 158,6
IF(!encoding){
IF(s>=128)&&(s<=175)s+=64;
ELSE IF(s>=224)&&(s<=239)s+=16;
ELSE IF(s==241)s=184; //yo
ELSE IF(s==240)s=168; //YO
}
yi = 0;
iii = 0;
296,8 → 294,6
{
IF(s>=128)&&(s<=175)s+=64;
ELSE IF(s>=224)&&(s<=239)s+=16;
ELSE IF(s==241)s=184; //yo
ELSE IF(s==240)s=168; //YO
}
yi = 0;
iii = 0;
/programs/cmm/lib/patterns/simple_open_dialog.h
File deleted
/programs/cmm/lib/list_box.h
28,6 → 28,7
void SetSizes(int xx, yy, ww, hh, line_hh);
void SetFont(dword font_ww, font_hh, font_tt);
int MouseScroll(dword scroll_state);
int MouseScrollNoSelection(dword scroll_state);
void debug_values();
};
 
87,6 → 88,23
return 0;
}
 
int llist::MouseScrollNoSelection(dword scroll_state)
{
if (count<=visible) return 0;
if (scroll_state == 65535)
{
if (current == 0) return 0;
if (current > 3) current -= 2; else current=0;
return 1;
}
if (scroll_state == 1)
{
if (visible + current == count) return 0;
if (visible+current+3 > count) current = count - visible; else current+=2;
return 1;
}
return 0;
}
 
int llist::MouseOver(int xx, yy)
{