#include <exec/types.h>#include <intuition/intuition.h>#include <intuition/classes.h>#include <intuition/classusr.h>#include <intuition/imageclass.h>#include <intuition/gadgetclass.h>#include <libraries/gadtools.h>#include <graphics/displayinfo.h>#include <graphics/gfxbase.h>#include <clib/exec_protos.h>#include <clib/intuition_protos.h>#include <clib/gadtools_protos.h>#include <clib/graphics_protos.h>#include <clib/utility_protos.h>#include <string.h>#include "AmigaGUI.h"Include dependency graph for AmigaGUI.c:

Go to the source code of this file.
Defines | |
| #define | Prefs_TNUM 1 |
Functions | |
| UWORD | ComputeX (UWORD value) |
| UWORD | ComputeY (UWORD value) |
| void | ComputeFont (UWORD width, UWORD height) |
| int | SetupScreen (void) |
| void | CloseDownScreen (void) |
| void | PrefsRender (void) |
| int | HandlePrefsIDCMP (void) |
| int | OpenPrefsWindow (void) |
| void | ClosePrefsWindow (void) |
Variables | |
| Screen * | Scr = NULL |
| UBYTE * | PubScreenName = NULL |
| APTR | VisualInfo = NULL |
| Window * | PrefsWnd = NULL |
| Gadget * | PrefsGList = NULL |
| Menu * | PrefsMenus = NULL |
| IntuiMessage | PrefsMsg |
| UWORD | PrefsZoom [4] |
| Gadget * | PrefsGadgets [31] |
| UWORD | PrefsLeft = 0 |
| UWORD | PrefsTop = 16 |
| UWORD | PrefsWidth = 561 |
| UWORD | PrefsHeight = 238 |
| UBYTE * | PrefsWdt = (UBYTE *)"Frodo Preferences" |
| 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 [] |
|
|
Definition at line 83 of file AmigaGUI.c. Referenced by PrefsRender(). |
|
|
Definition at line 244 of file AmigaGUI.c. References Scr, and VisualInfo. Referenced by Prefs::ShowEditor(). |
|
|
Definition at line 390 of file AmigaGUI.c. References PrefsGList, PrefsMenus, and PrefsWnd. Referenced by Prefs::ShowEditor(). |
|
||||||||||||
|
Definition at line 208 of file AmigaGUI.c. References Attr, ComputeX(), ComputeY(), Font, FontX, FontY, OffX, OffY, and Scr. Referenced by OpenPrefsWindow(), PrefsRender(), and SetupScreen(). |
|
|
Definition at line 198 of file AmigaGUI.c. References FontX. Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender(). |
|
|
Definition at line 203 of file AmigaGUI.c. References FontY. Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender(). |
|
|
Definition at line 274 of file AmigaGUI.c. References BOOL, PrefsMenus, PrefsMsg, PrefsRender(), PrefsVanillaKey(), and PrefsWnd. Referenced by Prefs::ShowEditor(). |
|
|
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(). |
|
|
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(). |
|
|
Definition at line 231 of file AmigaGUI.c. References ComputeFont(), PubScreenName, Scr, and VisualInfo. Referenced by Prefs::ShowEditor(). |
|
|
Definition at line 39 of file AmigaGUI.c. Referenced by ComputeFont(). |
|
|
Initial value: {
(UBYTE *)"DIR",
(UBYTE *)"D64",
(UBYTE *)"T64",
NULL }
Definition at line 68 of file AmigaGUI.c. |
|
|
Initial value: {
(UBYTE *)"DIR",
(UBYTE *)"D64",
(UBYTE *)"T64",
NULL }
Definition at line 74 of file AmigaGUI.c. |
|
|
Initial value: {
(UBYTE *)"DIR",
(UBYTE *)"D64",
(UBYTE *)"T64",
NULL }
Definition at line 56 of file AmigaGUI.c. |
|
|
Initial value: {
(UBYTE *)"DIR",
(UBYTE *)"D64",
(UBYTE *)"T64",
NULL }
Definition at line 62 of file AmigaGUI.c. |
|
|
Definition at line 39 of file AmigaGUI.c. Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender(). |
|
|
Definition at line 40 of file AmigaGUI.c. Referenced by ComputeFont(), and ComputeX(). |
|
|
Definition at line 40 of file AmigaGUI.c. Referenced by ComputeFont(), and ComputeY(). |
|
|
Definition at line 41 of file AmigaGUI.c. Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender(). |
|
|
Definition at line 41 of file AmigaGUI.c. Referenced by ComputeFont(), OpenPrefsWindow(), and PrefsRender(). |
|
|
Definition at line 33 of file AmigaGUI.c. Referenced by get_values(), ghost_gadgets(), OpenPrefsWindow(), and set_values(). |
|
|
Definition at line 29 of file AmigaGUI.c. Referenced by ClosePrefsWindow(), and OpenPrefsWindow(). |
|
|
Definition at line 164 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 96 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 37 of file AmigaGUI.c. Referenced by OpenPrefsWindow(), and PrefsRender(). |
|
|
Initial value: {
2, 0, JAM1,34, 115, NULL, (UBYTE *)"Drive", NULL }
Definition at line 80 of file AmigaGUI.c. Referenced by PrefsRender(). |
|
|
Definition at line 34 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 30 of file AmigaGUI.c. Referenced by ClosePrefsWindow(), HandlePrefsIDCMP(), and OpenPrefsWindow(). |
|
|
Definition at line 31 of file AmigaGUI.c. Referenced by DriveType10Clicked(), DriveType11Clicked(), DriveType8Clicked(), DriveType9Clicked(), HandlePrefsIDCMP(), PrefsVanillaKey(), REUSizeClicked(), and SIDTypeClicked(). |
|
|
Initial value: {
NM_TITLE, (STRPTR)"Preferences", NULL, 0, NULL, NULL,
NM_ITEM, (STRPTR)"Open...", (STRPTR)"O", 0, 0L, (APTR)PrefsOpen,
NM_ITEM, (STRPTR)"Save", (STRPTR)"S", 0, 0L, (APTR)PrefsSave,
NM_ITEM, (STRPTR)"Save As...", (STRPTR)"A", 0, 0L, (APTR)PrefsSaveAs,
NM_ITEM, (STRPTR)"Revert", (STRPTR)"R", 0, 0L, (APTR)PrefsRevert,
NM_ITEM, (STRPTR)NM_BARLABEL, NULL, 0, 0L, NULL,
NM_ITEM, (STRPTR)"OK", NULL, 0, 0L, (APTR)PrefsOK,
NM_ITEM, (STRPTR)"Cancel", NULL, 0, 0L, (APTR)PrefsCancel,
NM_END, NULL, NULL, 0, 0L, NULL }
Definition at line 85 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 130 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 35 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 38 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 36 of file AmigaGUI.c. Referenced by OpenPrefsWindow(), and PrefsRender(). |
|
|
Definition at line 28 of file AmigaGUI.c. Referenced by ClosePrefsWindow(), ghost_gadgets(), HandlePrefsIDCMP(), OpenPrefsWindow(), PrefsRender(), set_values(), and Prefs::ShowEditor(). |
|
|
Definition at line 32 of file AmigaGUI.c. Referenced by OpenPrefsWindow(). |
|
|
Definition at line 26 of file AmigaGUI.c. Referenced by SetupScreen(). |
|
|
Initial value: {
(UBYTE *)"None",
(UBYTE *)"128K",
(UBYTE *)"256K",
(UBYTE *)"512K",
NULL }
Definition at line 49 of file AmigaGUI.c. |
|
|
Definition at line 25 of file AmigaGUI.c. Referenced by CloseDownScreen(), ComputeFont(), OpenPrefsWindow(), and SetupScreen(). |
|
|
Initial value: {
(UBYTE *)"None",
(UBYTE *)"Digital (AHI)",
(UBYTE *)"SID Card",
NULL }
Definition at line 43 of file AmigaGUI.c. |
|
|
Definition at line 27 of file AmigaGUI.c. Referenced by CloseDownScreen(), OpenPrefsWindow(), and SetupScreen(). |
1.3.3