Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5779 → Rev 5778

/programs/cmm/lib/list_box.h
10,11 → 10,10
struct llist
{
int x, y, w, h, line_h, text_y;
dword font_w, font_h, font_type;
int count, visible, first, current, column_max; //visible = row_max
dword font_w, font_h, font_type;
byte wheel_size;
byte active;
byte no_selection;
int wheel_size;
int active;
void ClearList();
int MouseOver(int xx, yy);
int ProcessMouse(int xx, yy);
126,7 → 125,7
 
int llist::KeyDown()
{
if (current-first+1<visible) && (!no_selection)
if (current-first+1<visible)
{
if (current + 1 >= count) return 0;
current++;
147,7 → 146,7
 
int llist::KeyUp()
{
if (current > first) && (!no_selection)
if (current > first)
{
current--;
}