SparrowOSTS_121127.ISO
This commit is contained in:
1 parent
0e9364ff4c
commit
e57428affb
1218 files changed
+247142
-165507
No files matched your search
@@ -0,0 +1,27 @@
|
||||
U0 ViewComics()
|
||||
{
|
||||
I64 i=0;
|
||||
U8 *st;
|
||||
CDirEntry *tempm,*tempm1;
|
||||
CDoc *doc=DocNew;
|
||||
tempm=FilesFind("Comics/*.TXT.Z");
|
||||
tempm1=tempm;
|
||||
while (tempm1) {
|
||||
if (!(i++&3))
|
||||
DocPutS(doc,"\n");
|
||||
st=StrNew(tempm1->name);
|
||||
FileExtRem(st);
|
||||
tempm1->user_data=DocPrintF(doc,"$$MU-UL,\"%-10ts\",%d$$ ",st,tempm1);
|
||||
Free(st);
|
||||
tempm1=tempm1->next;
|
||||
}
|
||||
while (TRUE) {
|
||||
if ((tempm1=PopUpMenu(doc))>0)
|
||||
Ed(tempm1->full_name);
|
||||
else
|
||||
break;
|
||||
}
|
||||
DocDel(doc);
|
||||
CDirListDel(tempm);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user