aa
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@20 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
9f96056a1a
commit
376cef244b
4 changed files with 36 additions and 12 deletions
|
|
@ -7,7 +7,7 @@
|
|||
if(x->class != NULL && x->class->y != NULL) x->class->y(x)
|
||||
|
||||
static void llhandler(MilskoLL handle) {
|
||||
MilskoWidget h = (MilskoWidget)handle;
|
||||
MilskoWidget h = (MilskoWidget)handle->user;
|
||||
Dispatch(h, draw);
|
||||
}
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ int MilskoPending(MilskoWidget handle) {
|
|||
void MilskoLoop(MilskoWidget handle) {
|
||||
while(1) {
|
||||
MilskoStep(handle);
|
||||
MilskoLLSleep(10);
|
||||
MilskoLLSleep(5);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue