Line | |
---|
1 | #ifndef SATFINDER_H |
---|
2 | #define SATFINDER_H |
---|
3 | |
---|
4 | void screensatfinder() |
---|
5 | { |
---|
6 | int rcret = 0; |
---|
7 | struct skin* satfinder = getscreen("satfinder"); |
---|
8 | |
---|
9 | drawscreen(satfinder, 0); |
---|
10 | |
---|
11 | while(1) |
---|
12 | { |
---|
13 | rcret = waitrc(satfinder, 1000, 0); |
---|
14 | if(rcret == RCTIMEOUT) |
---|
15 | { |
---|
16 | drawscreen(satfinder, 0); |
---|
17 | continue; |
---|
18 | } |
---|
19 | |
---|
20 | if(rcret == getrcconfigint("rcexit", NULL)) break; |
---|
21 | if(rcret == getrcconfigint("rcok", NULL)) break; |
---|
22 | } |
---|
23 | |
---|
24 | clearscreen(satfinder); |
---|
25 | } |
---|
26 | |
---|
27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.