home *** CD-ROM | disk | FTP | other *** search
- #include "Calculator_Structures.h"
-
-
- /* Functions created by GUICreator */
-
- void SleepWindow(struct Window *win);
- void WakenWindow(struct Window *win);
- void GUICreatorErrorReport(struct Window *win,ULONG type);
- void CreateBevelFrames(struct Window *win,APTR visualinfo,ULONG bevelcount,struct BevelFrame bevels[]);
- void CreateLines(struct Window *win,int linecount,struct Line lines[]);
- void CreateTexts(struct Window *win,int textcount,struct Text texts[],long double xscale,long double yscale);
- void About(struct Window *hostwin);
-
- void HandleCalculatorWindow(struct Screen *customscreen,LONG left,LONG top,APTR userdata);
-
-
- /* Defines for CalculatorWindow */
-
- #define BTID_Gadget1 0
- #define BTID_Gadget2 1
- #define BTID_Gadget3 2
- #define BTID_Gadget4 3
- #define BTID_Gadget5 4
- #define BTID_Gadget6 5
- #define BTID_Gadget7 6
- #define BTID_Gadget8 7
- #define BTID_Gadget9 8
- #define BTID_Gadget10 9
- #define BTID_Gadget11 10
- #define BTID_Gadget12 11
- #define BTID_Gadget13 12
- #define BTID_Gadget14 13
- #define BTID_Gadget15 14
- #define BTID_Gadget16 15
- #define BTID_Gadget17 16
- #define BTID_Gadget18 17
- #define BTID_Gadget19 18
- #define BTID_Gadget20 19
- #define NBID_Gadget21 20
-
-
- /* Functions which you must define for CalculatorWindow */
-
-
- extern void Gadget1Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget2Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget3Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget4Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget5Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget6Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget7Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget8Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget9Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget10Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget11Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget12Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget13Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget14Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget15Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget16Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget18Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget19Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget20Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
- extern void Gadget21Clicked(struct Window *win,struct Gadget *wingads[],ULONG gadgetid,ULONG messagecode,APTR userdata);
-