Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 4078 → Rev 4077

/programs/cmm/appearance/appearance.c
File deleted
/programs/cmm/appearance/other.h
File deleted
\ No newline at end of file
/programs/cmm/appearance/compile.bat
File deleted
\ No newline at end of file
/programs/cmm/appearance
Property changes:
Deleted: tsvn:logminsize
-5
\ No newline at end of property
/programs/cmm/eolite/include/menu.h
97,6 → 97,7
{
int start_y=0;
int index;
int texty = menu.line_h/2-4;
for (index=0; file_captions[index*3]!=0; index++)
{
if ((itdir) && (file_captions[index*3+2]>=200)) continue;
109,10 → 110,10
else
{
DrawBar(2,start_y+2,menu.w-1,menu.line_h,sc.work);
WriteText(8,start_y+menu.text_y+3,0x80,0xf2f2f2,file_captions[index*3]);
WriteText(8,start_y+texty+3,0x80,0xf2f2f2,file_captions[index*3]);
}
WriteText(7,start_y+menu.text_y+2,0x80,sc.work_text,file_captions[index*3]);
WriteText(-strlen(file_captions[index*3+1])*6-6+menu.w,start_y+menu.text_y+2,0x80,0x888888,file_captions[index*3+1]);
WriteText(7,start_y+texty+2,0x80,sc.work_text,file_captions[index*3]);
WriteText(-strlen(file_captions[index*3+1])*6-6+menu.w,start_y+texty+2,0x80,0x888888,file_captions[index*3+1]);
start_y+=menu.line_h;
}
}
/programs/cmm/eolite/Eolite.c
177,7 → 177,7
m.get();
 
if (files.MouseOver(m.x, m.y)) && (!can_select)
if (m.x > files.x) && (m.x < files.x + files.w) && (m.y > files.y) && (m.y < files.y+files.h) && (!can_select)
{
m_selected = m.y - files.y / files.line_h;
if (m.lkm) can_select = 1;
/programs/cmm/lib/list_box.h
2,8 → 2,9
 
struct llist
{
int x, y, w, h, min_h, line_h, text_y;
int x, y, w, h, min_h, line_h;
int count, visible, first, current;
int current_temp;
void ClearList();
int ProcessKey(dword key);
int MouseOver(int xx, yy);
31,9 → 32,7
h = hh;
min_h = min_hh;
line_h = line_hh;
text_y = line_hh / 2 - 4;
visible = h / line_h;
if (visible > count) visible=count;
}
 
 
61,11 → 60,10
 
int llist::ProcessMouse(int xx, yy)
{
int current_temp;
if (MouseOver(xx, yy))
{
current_temp = yy - y / line_h + first;
if (current_temp != current) && (current_temp<count)
if (current_temp != current)
{
current = current_temp;
return 1;