Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

AmigaGUI.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define GetString(g)   ((( struct StringInfo * )g->SpecialInfo )->Buffer )
#define GetNumber(g)   ((( struct StringInfo * )g->SpecialInfo )->LongInt )
#define GD_SpritesOn   0
#define GD_SpriteCollisions   1
#define GD_Joystick2On   2
#define GD_JoystickSwap   3
#define GD_LimitSpeed   4
#define GD_FastReset   5
#define GD_CIAIRQHack   6
#define GD_SIDFilters   7
#define GD_NormalCycles   8
#define GD_BadLineCycles   9
#define GD_CIACycles   10
#define GD_FloppyCycles   11
#define GD_SkipFrames   12
#define GD_SIDType   13
#define GD_REUSize   14
#define GD_DrivePath8   15
#define GD_DriveType8   16
#define GD_DrivePath9   17
#define GD_DriveType9   18
#define GD_DrivePath10   19
#define GD_DriveType10   20
#define GD_DrivePath11   21
#define GD_DriveType11   22
#define GD_MapSlash   23
#define GD_Emul1541Proc   24
#define GD_OK   25
#define GD_Cancel   26
#define GD_GetDrive8   27
#define GD_GetDrive9   28
#define GD_GetDrive10   29
#define GD_GetDrive11   30
#define GDX_SpritesOn   0
#define GDX_SpriteCollisions   1
#define GDX_Joystick2On   2
#define GDX_JoystickSwap   3
#define GDX_LimitSpeed   4
#define GDX_FastReset   5
#define GDX_CIAIRQHack   6
#define GDX_SIDFilters   7
#define GDX_NormalCycles   8
#define GDX_BadLineCycles   9
#define GDX_CIACycles   10
#define GDX_FloppyCycles   11
#define GDX_SkipFrames   12
#define GDX_SIDType   13
#define GDX_REUSize   14
#define GDX_DrivePath8   15
#define GDX_DriveType8   16
#define GDX_DrivePath9   17
#define GDX_DriveType9   18
#define GDX_DrivePath10   19
#define GDX_DriveType10   20
#define GDX_DrivePath11   21
#define GDX_DriveType11   22
#define GDX_MapSlash   23
#define GDX_Emul1541Proc   24
#define GDX_OK   25
#define GDX_Cancel   26
#define GDX_GetDrive8   27
#define GDX_GetDrive9   28
#define GDX_GetDrive10   29
#define GDX_GetDrive11   30
#define Prefs_CNT   31

Functions

int SpritesOnClicked (void)
int SpriteCollisionsClicked (void)
int Joystick2OnClicked (void)
int JoystickSwapClicked (void)
int LimitSpeedClicked (void)
int FastResetClicked (void)
int CIAIRQHackClicked (void)
int SIDFiltersClicked (void)
int NormalCyclesClicked (void)
int BadLineCyclesClicked (void)
int CIACyclesClicked (void)
int FloppyCyclesClicked (void)
int SkipFramesClicked (void)
int SIDTypeClicked (void)
int REUSizeClicked (void)
int DrivePath8Clicked (void)
int DriveType8Clicked (void)
int DrivePath9Clicked (void)
int DriveType9Clicked (void)
int DrivePath10Clicked (void)
int DriveType10Clicked (void)
int DrivePath11Clicked (void)
int DriveType11Clicked (void)
int MapSlashClicked (void)
int Emul1541ProcClicked (void)
int OKClicked (void)
int CancelClicked (void)
int GetDrive8Clicked (void)
int GetDrive9Clicked (void)
int GetDrive10Clicked (void)
int GetDrive11Clicked (void)
int PrefsOpen (void)
int PrefsSave (void)
int PrefsSaveAs (void)
int PrefsRevert (void)
int PrefsOK (void)
int PrefsCancel (void)
int SetupScreen (void)
void CloseDownScreen (void)
void PrefsRender (void)
int HandlePrefsIDCMP (void)
int PrefsVanillaKey ()
int OpenPrefsWindow (void)
void ClosePrefsWindow (void)

Variables

IntuitionBaseIntuitionBase
Library * GadToolsBase
Screen * Scr
UBYTE * PubScreenName
APTR VisualInfo
WindowPrefsWnd
Gadget * PrefsGList
Menu * PrefsMenus
IntuiMessage PrefsMsg
UWORD PrefsZoom [4]
Gadget * PrefsGadgets [31]
UWORD PrefsLeft
UWORD PrefsTop
UWORD PrefsWidth
UWORD PrefsHeight
UBYTE * PrefsWdt
TextAttr * Font
TextAttr Attr
UWORD FontX
UWORD FontY
UWORD OffX
UWORD OffY
UBYTE * SIDType0Labels []
UBYTE * REUSize0Labels []
UBYTE * DriveType80Labels []
UBYTE * DriveType90Labels []
UBYTE * DriveType100Labels []
UBYTE * DriveType110Labels []
IntuiText PrefsIText []
NewMenu PrefsNewMenu []
UWORD PrefsGTypes []
NewGadget PrefsNGad []
ULONG PrefsGTags []


Define Documentation

#define GD_BadLineCycles   9
 

Definition at line 20 of file AmigaGUI.h.

#define GD_Cancel   26
 

Definition at line 37 of file AmigaGUI.h.

#define GD_CIACycles   10
 

Definition at line 21 of file AmigaGUI.h.

#define GD_CIAIRQHack   6
 

Definition at line 17 of file AmigaGUI.h.

#define GD_DrivePath10   19
 

Definition at line 30 of file AmigaGUI.h.

#define GD_DrivePath11   21
 

Definition at line 32 of file AmigaGUI.h.

#define GD_DrivePath8   15
 

Definition at line 26 of file AmigaGUI.h.

#define GD_DrivePath9   17
 

Definition at line 28 of file AmigaGUI.h.

#define GD_DriveType10   20
 

Definition at line 31 of file AmigaGUI.h.

#define GD_DriveType11   22
 

Definition at line 33 of file AmigaGUI.h.

#define GD_DriveType8   16
 

Definition at line 27 of file AmigaGUI.h.

#define GD_DriveType9   18
 

Definition at line 29 of file AmigaGUI.h.

#define GD_Emul1541Proc   24
 

Definition at line 35 of file AmigaGUI.h.

#define GD_FastReset   5
 

Definition at line 16 of file AmigaGUI.h.

#define GD_FloppyCycles   11
 

Definition at line 22 of file AmigaGUI.h.

#define GD_GetDrive10   29
 

Definition at line 40 of file AmigaGUI.h.

#define GD_GetDrive11   30
 

Definition at line 41 of file AmigaGUI.h.

#define GD_GetDrive8   27
 

Definition at line 38 of file AmigaGUI.h.

#define GD_GetDrive9   28
 

Definition at line 39 of file AmigaGUI.h.

#define GD_Joystick2On   2
 

Definition at line 13 of file AmigaGUI.h.

#define GD_JoystickSwap   3
 

Definition at line 14 of file AmigaGUI.h.

#define GD_LimitSpeed   4
 

Definition at line 15 of file AmigaGUI.h.

#define GD_MapSlash   23
 

Definition at line 34 of file AmigaGUI.h.

#define GD_NormalCycles   8
 

Definition at line 19 of file AmigaGUI.h.

#define GD_OK   25
 

Definition at line 36 of file AmigaGUI.h.

#define GD_REUSize   14
 

Definition at line 25 of file AmigaGUI.h.

#define GD_SIDFilters   7
 

Definition at line 18 of file AmigaGUI.h.

#define GD_SIDType   13
 

Definition at line 24 of file AmigaGUI.h.

#define GD_SkipFrames   12
 

Definition at line 23 of file AmigaGUI.h.

#define GD_SpriteCollisions   1
 

Definition at line 12 of file AmigaGUI.h.

#define GD_SpritesOn   0
 

Definition at line 11 of file AmigaGUI.h.

#define GDX_BadLineCycles   9
 

Definition at line 52 of file AmigaGUI.h.

Referenced by get_values(), ghost_gadgets(), and set_values().

#define GDX_Cancel   26
 

Definition at line 69 of file AmigaGUI.h.

#define GDX_CIACycles   10
 

Definition at line 53 of file AmigaGUI.h.

Referenced by get_values(), ghost_gadgets(), and set_values().

#define GDX_CIAIRQHack   6
 

Definition at line 49 of file AmigaGUI.h.

Referenced by ghost_gadgets(), and set_values().

#define GDX_DrivePath10   19
 

Definition at line 62 of file AmigaGUI.h.

Referenced by get_values(), and set_values().

#define GDX_DrivePath11   21
 

Definition at line 64 of file AmigaGUI.h.

Referenced by get_values(), and set_values().

#define GDX_DrivePath8   15
 

Definition at line 58 of file AmigaGUI.h.

Referenced by get_values(), and set_values().

#define GDX_DrivePath9   17
 

Definition at line 60 of file AmigaGUI.h.

Referenced by get_values(), and set_values().

#define GDX_DriveType10   20
 

Definition at line 63 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_DriveType11   22
 

Definition at line 65 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_DriveType8   16
 

Definition at line 59 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_DriveType9   18
 

Definition at line 61 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_Emul1541Proc   24
 

Definition at line 67 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_FastReset   5
 

Definition at line 48 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_FloppyCycles   11
 

Definition at line 54 of file AmigaGUI.h.

Referenced by get_values(), ghost_gadgets(), and set_values().

#define GDX_GetDrive10   29
 

Definition at line 72 of file AmigaGUI.h.

#define GDX_GetDrive11   30
 

Definition at line 73 of file AmigaGUI.h.

#define GDX_GetDrive8   27
 

Definition at line 70 of file AmigaGUI.h.

#define GDX_GetDrive9   28
 

Definition at line 71 of file AmigaGUI.h.

#define GDX_Joystick2On   2
 

Definition at line 45 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_JoystickSwap   3
 

Definition at line 46 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_LimitSpeed   4
 

Definition at line 47 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_MapSlash   23
 

Definition at line 66 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_NormalCycles   8
 

Definition at line 51 of file AmigaGUI.h.

Referenced by get_values(), ghost_gadgets(), and set_values().

#define GDX_OK   25
 

Definition at line 68 of file AmigaGUI.h.

#define GDX_REUSize   14
 

Definition at line 57 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_SIDFilters   7
 

Definition at line 50 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_SIDType   13
 

Definition at line 56 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_SkipFrames   12
 

Definition at line 55 of file AmigaGUI.h.

Referenced by get_values(), and set_values().

#define GDX_SpriteCollisions   1
 

Definition at line 44 of file AmigaGUI.h.

Referenced by set_values().

#define GDX_SpritesOn   0
 

Definition at line 43 of file AmigaGUI.h.

Referenced by set_values().

#define GetNumber  )     ((( struct StringInfo * )g->SpecialInfo )->LongInt )
 

Definition at line 9 of file AmigaGUI.h.

Referenced by get_values().

#define GetString  )     ((( struct StringInfo * )g->SpecialInfo )->Buffer )
 

Definition at line 8 of file AmigaGUI.h.

Referenced by get_values().

#define Prefs_CNT   31
 

Definition at line 75 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().


Function Documentation

int BadLineCyclesClicked void   ) 
 

Definition at line 218 of file Prefs_Amiga.i.

int CancelClicked void   ) 
 

Definition at line 348 of file Prefs_Amiga.i.

References done, and result.

Referenced by PrefsCancel(), and PrefsVanillaKey().

int CIACyclesClicked void   ) 
 

Definition at line 219 of file Prefs_Amiga.i.

int CIAIRQHackClicked void   ) 
 

Definition at line 207 of file Prefs_Amiga.i.

References prefs.

void CloseDownScreen void   ) 
 

Definition at line 244 of file AmigaGUI.c.

References Scr, and VisualInfo.

Referenced by Prefs::ShowEditor().

void ClosePrefsWindow void   ) 
 

Definition at line 390 of file AmigaGUI.c.

References PrefsGList, PrefsMenus, and PrefsWnd.

Referenced by Prefs::ShowEditor().

int DrivePath10Clicked void   ) 
 

Definition at line 224 of file Prefs_Amiga.i.

int DrivePath11Clicked void   ) 
 

Definition at line 225 of file Prefs_Amiga.i.

int DrivePath8Clicked void   ) 
 

Definition at line 222 of file Prefs_Amiga.i.

int DrivePath9Clicked void   ) 
 

Definition at line 223 of file Prefs_Amiga.i.

int DriveType10Clicked void   ) 
 

Definition at line 247 of file Prefs_Amiga.i.

References Prefs::DriveType, prefs, and PrefsMsg.

int DriveType11Clicked void   ) 
 

Definition at line 252 of file Prefs_Amiga.i.

References Prefs::DriveType, prefs, and PrefsMsg.

int DriveType8Clicked void   ) 
 

Definition at line 237 of file Prefs_Amiga.i.

References Prefs::DriveType, prefs, and PrefsMsg.

int DriveType9Clicked void   ) 
 

Definition at line 242 of file Prefs_Amiga.i.

References Prefs::DriveType, prefs, and PrefsMsg.

int Emul1541ProcClicked void   ) 
 

Definition at line 337 of file Prefs_Amiga.i.

References Prefs::Emul1541Proc, and prefs.

int FastResetClicked void   ) 
 

Definition at line 202 of file Prefs_Amiga.i.

References Prefs::FastReset, and prefs.

int FloppyCyclesClicked void   ) 
 

Definition at line 220 of file Prefs_Amiga.i.

int GetDrive10Clicked void   ) 
 

Definition at line 322 of file Prefs_Amiga.i.

References get_drive().

int GetDrive11Clicked void   ) 
 

Definition at line 327 of file Prefs_Amiga.i.

References get_drive().

int GetDrive8Clicked void   ) 
 

Definition at line 312 of file Prefs_Amiga.i.

References get_drive().

int GetDrive9Clicked void   ) 
 

Definition at line 317 of file Prefs_Amiga.i.

References get_drive().

int HandlePrefsIDCMP void   ) 
 

Definition at line 274 of file AmigaGUI.c.

References BOOL, PrefsMenus, PrefsMsg, PrefsRender(), PrefsVanillaKey(), and PrefsWnd.

Referenced by Prefs::ShowEditor().

int Joystick2OnClicked void   ) 
 

Definition at line 187 of file Prefs_Amiga.i.

References Prefs::Joystick2On, and prefs.

int JoystickSwapClicked void   ) 
 

Definition at line 192 of file Prefs_Amiga.i.

References prefs.

int LimitSpeedClicked void   ) 
 

Definition at line 197 of file Prefs_Amiga.i.

References Prefs::LimitSpeed, and prefs.

int MapSlashClicked void   ) 
 

Definition at line 332 of file Prefs_Amiga.i.

References prefs.

int NormalCyclesClicked void   ) 
 

Definition at line 217 of file Prefs_Amiga.i.

int OKClicked void   ) 
 

Definition at line 342 of file Prefs_Amiga.i.

References done, get_values(), and result.

Referenced by PrefsOK(), and PrefsVanillaKey().

int OpenPrefsWindow void   ) 
 

Definition at line 317 of file AmigaGUI.c.

References ComputeFont(), ComputeX(), ComputeY(), Font, OffX, OffY, Prefs_CNT, PrefsGadgets, PrefsGList, PrefsGTags, PrefsGTypes, PrefsHeight, PrefsLeft, PrefsMenus, PrefsNewMenu, PrefsNGad, PrefsRender(), PrefsTop, PrefsWdt, PrefsWidth, PrefsWnd, PrefsZoom, Scr, strlen, and VisualInfo.

Referenced by Prefs::ShowEditor().

int PrefsCancel void   ) 
 

Definition at line 401 of file Prefs_Amiga.i.

References CancelClicked().

int PrefsOK void   ) 
 

Definition at line 396 of file Prefs_Amiga.i.

References OKClicked().

int PrefsOpen void   ) 
 

Definition at line 359 of file Prefs_Amiga.i.

References get_values(), Prefs::Load(), open_req, path, prefs, set_values(), and strncpy.

void PrefsRender void   ) 
 

Definition at line 257 of file AmigaGUI.c.

References ComputeFont(), ComputeX(), ComputeY(), Font, OffX, OffY, Prefs_TNUM, PrefsHeight, PrefsIText, PrefsWidth, and PrefsWnd.

Referenced by HandlePrefsIDCMP(), and OpenPrefsWindow().

int PrefsRevert void   ) 
 

Definition at line 371 of file Prefs_Amiga.i.

References get_values(), Prefs::Load(), path, prefs, and set_values().

int PrefsSave void   ) 
 

Definition at line 389 of file Prefs_Amiga.i.

References get_values(), path, prefs, and Prefs::Save().

int PrefsSaveAs void   ) 
 

Definition at line 378 of file Prefs_Amiga.i.

References get_values(), path, prefs, Prefs::Save(), save_req, and strncpy.

int PrefsVanillaKey  ) 
 

Definition at line 411 of file Prefs_Amiga.i.

References CancelClicked(), OKClicked(), and PrefsMsg.

Referenced by HandlePrefsIDCMP().

int REUSizeClicked void   ) 
 

Definition at line 232 of file Prefs_Amiga.i.

References prefs, PrefsMsg, and Prefs::REUSize.

int SetupScreen void   ) 
 

Definition at line 231 of file AmigaGUI.c.

References ComputeFont(), PubScreenName, Scr, and VisualInfo.

Referenced by Prefs::ShowEditor().

int SIDFiltersClicked void   ) 
 

Definition at line 212 of file Prefs_Amiga.i.

References prefs, and Prefs::SIDFilters.

int SIDTypeClicked void   ) 
 

Definition at line 227 of file Prefs_Amiga.i.

References prefs, PrefsMsg, and Prefs::SIDType.

int SkipFramesClicked void   ) 
 

Definition at line 221 of file Prefs_Amiga.i.

int SpriteCollisionsClicked void   ) 
 

Definition at line 182 of file Prefs_Amiga.i.

References prefs, and Prefs::SpriteCollisions.

int SpritesOnClicked void   ) 
 

Definition at line 177 of file Prefs_Amiga.i.

References prefs, and Prefs::SpritesOn.


Variable Documentation

struct TextAttr Attr
 

Definition at line 94 of file AmigaGUI.h.

Referenced by ComputeFont().

UBYTE* DriveType100Labels[]
 

Definition at line 101 of file AmigaGUI.h.

UBYTE* DriveType110Labels[]
 

Definition at line 102 of file AmigaGUI.h.

UBYTE* DriveType80Labels[]
 

Definition at line 99 of file AmigaGUI.h.

UBYTE* DriveType90Labels[]
 

Definition at line 100 of file AmigaGUI.h.

struct TextAttr* Font
 

Definition at line 94 of file AmigaGUI.h.

Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender().

UWORD FontX
 

Definition at line 95 of file AmigaGUI.h.

Referenced by ComputeFont(), and ComputeX().

UWORD FontY
 

Definition at line 95 of file AmigaGUI.h.

Referenced by ComputeFont(), and ComputeY().

struct Library* GadToolsBase
 

Definition at line 78 of file AmigaGUI.h.

Referenced by close_libs(), and open_libs().

struct IntuitionBase* IntuitionBase
 

Definition at line 77 of file AmigaGUI.h.

Referenced by close_libs(), and open_libs().

UWORD OffX
 

Definition at line 96 of file AmigaGUI.h.

Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender().

UWORD OffY
 

Definition at line 96 of file AmigaGUI.h.

Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender().

struct Gadget* PrefsGadgets[31]
 

Definition at line 88 of file AmigaGUI.h.

Referenced by get_values(), ghost_gadgets(), OpenPrefsWindow(), and set_values().

struct Gadget* PrefsGList
 

Definition at line 84 of file AmigaGUI.h.

Referenced by ClosePrefsWindow(), and OpenPrefsWindow().

ULONG PrefsGTags[]
 

Definition at line 107 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

UWORD PrefsGTypes[]
 

Definition at line 105 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

UWORD PrefsHeight
 

Definition at line 92 of file AmigaGUI.h.

Referenced by OpenPrefsWindow(), and PrefsRender().

struct IntuiText PrefsIText[]
 

Definition at line 103 of file AmigaGUI.h.

Referenced by PrefsRender().

UWORD PrefsLeft
 

Definition at line 89 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

struct Menu* PrefsMenus
 

Definition at line 85 of file AmigaGUI.h.

Referenced by ClosePrefsWindow(), HandlePrefsIDCMP(), and OpenPrefsWindow().

struct IntuiMessage PrefsMsg
 

Definition at line 86 of file AmigaGUI.h.

Referenced by DriveType10Clicked(), DriveType11Clicked(), DriveType8Clicked(), DriveType9Clicked(), HandlePrefsIDCMP(), PrefsVanillaKey(), REUSizeClicked(), and SIDTypeClicked().

struct NewMenu PrefsNewMenu[]
 

Definition at line 104 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

struct NewGadget PrefsNGad[]
 

Definition at line 106 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

UWORD PrefsTop
 

Definition at line 90 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

UBYTE* PrefsWdt
 

Definition at line 93 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

UWORD PrefsWidth
 

Definition at line 91 of file AmigaGUI.h.

Referenced by OpenPrefsWindow(), and PrefsRender().

struct Window* PrefsWnd
 

Definition at line 83 of file AmigaGUI.h.

Referenced by ClosePrefsWindow(), ghost_gadgets(), HandlePrefsIDCMP(), OpenPrefsWindow(), PrefsRender(), set_values(), and Prefs::ShowEditor().

UWORD PrefsZoom[4]
 

Definition at line 87 of file AmigaGUI.h.

Referenced by OpenPrefsWindow().

UBYTE* PubScreenName
 

Definition at line 81 of file AmigaGUI.h.

Referenced by SetupScreen().

UBYTE* REUSize0Labels[]
 

Definition at line 98 of file AmigaGUI.h.

struct Screen* Scr
 

Definition at line 80 of file AmigaGUI.h.

Referenced by CloseDownScreen(), ComputeFont(), OpenPrefsWindow(), and SetupScreen().

UBYTE* SIDType0Labels[]
 

Definition at line 97 of file AmigaGUI.h.

APTR VisualInfo
 

Definition at line 82 of file AmigaGUI.h.

Referenced by CloseDownScreen(), OpenPrefsWindow(), and SetupScreen().


Generated on Tue Feb 8 04:08:42 2005 for E32frodo by doxygen 1.3.3