| version 1.1, 2005/11/25 22:41:24 |
version 1.2, 2005/11/27 20:14:50 |
|
|
| // Copyright (c) 2005 Michal Sudolsky |
/* |
| // modified by Juraj Kolesár <koli@koli.sk> |
Name: lc_main.h |
| |
Author: Michal Sudolsky |
| |
Date: 24.08.2005 18:36 |
| |
*/ |
| |
// modified by Juraj Kolesar <koli@koli.sk> |
| |
|
| extern WIN *hlwin,
|
typedef struct _TUCB{WIN *combo,*p1,*p2;char i;}TUCB; |
| *hlendwin,
|
typedef struct _TUFOB{WIN *filelist,*diskcombo,*nameedit,*maskcombo;char i;}TUFOB; |
| *focuswin,
|
|
| *capturewin,
|
extern WIN *hlwin, |
| *hlmenu,
|
*hlendwin, |
| *hldowntext,
|
*focuswin, |
| mainwin;
|
*capturewin, |
| extern bool (*acelproc)();
|
*hlmenu, |
| |
*hldowntext, |
| |
mainwin; |
| |
extern bool (*acelproc)(); |
| extern void (*resizescreen)(); |
extern void (*resizescreen)(); |
| extern TIMER *hltimer;
|
extern TIMER *hltimer; |
| extern bool hasmodal;
|
extern bool hasmodal; |
| extern bool apprun;
|
extern bool apprun; |
| extern bool hlvisible;
|
extern bool hlvisible; |
| extern GList *dialoglist; |
extern GList *dialoglist; |
| extern char *bitmap[BITMAPY];
|
extern char *clipboard; |
| |
extern WIN *clipboardmenu; |
| |
extern char *bitmap[BITMAPY]; |
| |
|
| |
void fobdiskbuttonproc(WIN *win); |
| |
void fobnamebuttonproc(WIN *win); |
| |
void fobmaskbuttonproc(WIN *win); |
| |
void fobopenbuttonproc(WIN *win); |
| |
void fobcancelbuttonproc(WIN *win); |
| |
void fobsizeokproc(WIN *win,long *x,long *y,long *vx,long *vy); |
| |
bool fobdialogacelproc(WIN *win,long x,long y,unsigned short key); |
| |
void fobcloseproc(WIN *sender); |
| |
void fobdiskcombochangeproc(WIN *win); |
| |
void fobfilelistdblclkproc(WIN *win); |
| |
bool fobfilelistacelproc(WIN *win,long x,long y,unsigned short key); |
| |
void cbcombochangeproc(WIN *sender); |
| |
bool cbpaintacelproc(WIN *win,long x,long y,unsigned short key); |
| |
bool cbdialogacelproc(WIN *win,long x,long y,unsigned short key); |
| |
void cbcloseproc(WIN *sender); |
| |
void cbpushproc(WIN *sender); |
| |
bool mbdialogacelproc(WIN *win,long x,long y,unsigned short key); |
| |
void mbcloseproc(WIN *sender); |
| |
void mbpushproc(WIN *sender); |
| |
bool claeditacel(WIN *sender,long x,long y,unsigned short key); |
| |
char *getcolorname(long color); |
| long strlenmenu(char *text); |
long strlenmenu(char *text); |
| bool searchwinexist(WIN *p,WIN *win); |
bool searchwinexist(WIN *p,WIN *win); |
| bool winexist(WIN *win); |
bool winexist(WIN *win); |
| Line 24 void setparent(WIN *win,WIN *parent); |
|
| Line 54 void setparent(WIN *win,WIN *parent); |
|
| char *getshortcuttext(unsigned short shortcut); |
char *getshortcuttext(unsigned short shortcut); |
| long getmenucellid(MENU *menu); |
long getmenucellid(MENU *menu); |
| bool isactive(WIN *win); |
bool isactive(WIN *win); |
| bool dosearchfocused(WIN *win);
|
bool dosearchfocused(WIN *win); |
| bool isfocused(WIN *win);
|
bool isfocused(WIN *win); |
| bool isvisible(WIN *win); |
bool isvisible(WIN *win); |
| bool isdlgactive(WIN *win); |
bool isdlgactive(WIN *win); |
| void dobringonewintotop(WIN *win); |
void dobringonewintotop(WIN *win); |
| void dobringwintotop(WIN *win);
|
void dobringwintotop(WIN *win); |
| void bringwintotop(WIN *win);
|
void bringwintotop(WIN *win); |
| WIN *findchild(WIN *win); |
WIN *findchild(WIN *win); |
| WIN *findchildnom(WIN *win);
|
WIN *findchildnom(WIN *win); |
| void combodblclkproc(WIN *Sender); |
void combodblclkproc(WIN *Sender); |
| void buttontimer(TIMER *sender); |
void buttontimer(TIMER *sender); |
| void bclosepush(WIN *sender);
|
void bclosepush(WIN *sender); |
| void bmaximizepush(WIN *sender);
|
void bmaximizepush(WIN *sender); |
| void bminimizepush(WIN *sender);
|
void bminimizepush(WIN *sender); |
| void dodeletewin(WIN *win); |
void dodeletewin(WIN *win); |
| WIN *findnextwin(WIN *win); |
WIN *findnextwin(WIN *win); |
| WIN *findprevwin(WIN *win); |
WIN *findprevwin(WIN *win); |
| WIN *cyclenextwin(WIN *win); |
WIN *cyclenextwin(WIN *win); |
| WIN *searchnextdialog(WIN *win); |
WIN *searchnextdialog(WIN *win); |
| WIN *findnextdialog(WIN *win);
|
WIN *findnextdialog(WIN *win); |
| WIN *findprevdialog(WIN *win);
|
WIN *findprevdialog(WIN *win); |
| bool runacel(WIN *win,long x,long y,unsigned short key);
|
bool runacel(WIN *win,long x,long y,unsigned short key); |
| WIN *searchwin(WIN *win,long x,long y); |
WIN *searchwin(WIN *win,long x,long y); |
| WIN *findwin(long x,long y);
|
WIN *findwin(long x,long y); |
| WIN *searchwintostop(WIN *stop,WIN *win,long x,long y);
|
WIN *searchwintostop(WIN *stop,WIN *win,long x,long y); |
| WIN *findwintostop(WIN *stop,long x,long y);
|
WIN *findwintostop(WIN *stop,long x,long y); |
| WIN *searchwinonlypaint(WIN *win,long x,long y);
|
WIN *searchwinonlypaint(WIN *win,long x,long y); |
| WIN *findwinonlypaint(long x,long y);
|
WIN *findwinonlypaint(long x,long y); |
| void dosetredrawed(WIN *win,bool redrawed);
|
void dosetredrawed(WIN *win,bool redrawed); |
| int doredraw(WIN *win); |
int doredraw(WIN *win); |
| void doneredraw();
|
void doneredraw(); |
| int redraw(); |
int redraw(); |
| void checkwin(WIN *win);
|
void checkwin(WIN *win); |
| int drawwin(WIN *win,bool dorefresh); |
int drawwin(WIN *win,bool dorefresh); |
| |
void clipboardmenuproc(WIN *win,long id); |