c-- library fix
git-svn-id: svn://kolibrios.org@2250 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
055739c38e
commit
089caa64c7
@ -214,7 +214,7 @@ void main()
|
||||
case evReDraw:
|
||||
DefineAndDrawWindow(400,276,177,201+GetSkinWidth(),0x74,0x10B2B4BF,0,0,"Just Clicks v0.8");
|
||||
DefineButton(150,-18,18,18,255+BT_HIDE+BT_NOFRAME,0); //ª®¯®çª § ªàëâ¨ï :]
|
||||
Form.GetInfo(SelfInfo);
|
||||
GetProcessInfo(#Form, SelfInfo);
|
||||
IF (Form.height==GetSkinWidth()+3) BREAK;
|
||||
sc.get();
|
||||
DrawBar(0,168,168,29,sc.work); //¯ ¥«ìª ᨧã
|
||||
|
@ -32,10 +32,9 @@ struct proc_info{
|
||||
#define SelfInfo -1
|
||||
};
|
||||
|
||||
void proc_info::GetInfo(dword ECX)
|
||||
void GetProcessInfo(dword EBX, ECX)
|
||||
{
|
||||
EAX = 9;
|
||||
EBX = #use_cpu;
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
|
@ -121,7 +121,7 @@ void Draw_Window()
|
||||
DefineAndDrawWindow(215,100,640,480,0x73,0x00E4DFE1,0,0,0);
|
||||
WindowRedrawStatus(2);
|
||||
|
||||
Form.GetInfo(SelfInfo);
|
||||
GetProcessInfo(#Form, SelfInfo);
|
||||
IF (Form.height==GetSkinWidth()+3) //åñëè ñâåðíóòî â çàãîëîâîê, íè÷åãî íå ðèñóåì
|
||||
{
|
||||
DrawTitle(#header);
|
||||
|
@ -74,13 +74,13 @@ struct proc_info{
|
||||
dword work_left,work_top,work_width,work_height;
|
||||
char status_window;
|
||||
void GetInfo(dword ECX);
|
||||
byte reserved[1024-71];
|
||||
#define SelfInfo -1
|
||||
};
|
||||
|
||||
void proc_info::GetInfo(dword ECX)
|
||||
void GetProcessInfo(dword EBX, ECX)
|
||||
{
|
||||
EAX = 9;
|
||||
EBX = #use_cpu;
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user