Home » Archimedes archive » Acorn User » AU 1996-06.adf » Regulars » StarInfo/WimpC/!NewWimpC/h/AULib » Compare
Compare StarInfo/WimpC/!NewWimpC/h/AULib with WimpC/!RAPS/h/AULib
| File: | Archimedes archive » Acorn User » AU 1996-06.adf » Regulars » StarInfo/WimpC/!NewWimpC/h/AULib |
| Compared with: | Archimedes archive » Acorn User » AU 1996-10 A.adf » Regulars » WimpC/!RAPS/h/AULib |
| Similarity: | 90% of bytes duplicated |
89.9% of the bytes in these files are duplicated between them. Duplicated Different Padding (ignored)
Bytes are marked as duplicated if they lie within a run of at least 16 bytes which also appears somewhere in the other file, in any position. Long runs of padding bytes
(zeros, spaces, &FF and &E5) are ignored.
StarInfo/WimpC/!NewWimpC/h/AULib
00000000 2f 2a 20 41 55 4c 69 62 2e 68 20 2d 20 61 20 68 |/* AULib.h - a h| 00000010 65 61 64 65 72 20 66 69 6c 65 20 66 6f 72 20 74 |eader file for t| 00000020 68 65 20 41 63 6f 72 6e 20 55 73 65 72 20 57 49 |he Acorn User WI| 00000030 4d 50 20 43 20 6c 69 62 72 61 72 79 20 2a 2f 0a |MP C library */.| 00000040 0a 23 69 66 6e 64 65 66 20 41 55 4c 49 42 5f 48 |.#ifndef AULIB_H| 00000050 0a 23 64 65 66 69 6e 65 20 41 55 4c 49 42 5f 48 |.#define AULIB_H| 00000060 0a 0a 2f 2a 20 23 49 6e 63 6c 75 64 65 20 74 68 |../* #Include th| 00000070 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 66 69 |e appropriate fi| 00000080 6c 65 73 20 2d 20 73 77 69 73 2e 68 20 61 6e 64 |les - swis.h and| 00000090 20 6b 65 72 6e 65 6c 2e 68 20 68 6f 6c 64 20 74 | kernel.h hold t| 000000a0 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 |he information. | 000000b0 2a 20 77 65 20 6e 65 65 64 20 74 6f 20 63 61 6c |* we need to cal| 000000c0 6c 20 53 57 49 20 66 75 6e 63 74 69 6f 6e 73 20 |l SWI functions | 000000d0 66 72 6f 6d 20 77 69 74 68 69 6e 20 43 20 2a 2f |from within C */| 000000e0 0a 0a 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 69 |..#include <stdi| 000000f0 6f 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 73 |o.h>.#include <s| 00000100 74 72 69 6e 67 2e 68 3e 0a 23 69 6e 63 6c 75 64 |tring.h>.#includ| 00000110 65 20 3c 73 74 64 6c 69 62 2e 68 3e 0a 23 69 6e |e <stdlib.h>.#in| 00000120 63 6c 75 64 65 20 22 73 77 69 73 2e 68 22 0a 23 |clude "swis.h".#| 00000130 69 6e 63 6c 75 64 65 20 22 6b 65 72 6e 65 6c 2e |include "kernel.| 00000140 68 22 0a 0a 2f 2a 20 41 20 66 65 77 20 23 64 65 |h"../* A few #de| 00000150 66 69 6e 65 73 20 74 6f 20 73 65 74 20 75 70 20 |fines to set up | 00000160 73 6f 6d 65 20 63 6f 6e 73 74 61 6e 74 73 20 2a |some constants *| 00000170 2f 0a 0a 23 64 65 66 69 6e 65 20 49 42 41 52 5f |/..#define IBAR_| 00000180 4f 4e 52 49 47 48 54 20 20 20 20 2d 31 0a 23 64 |ONRIGHT -1.#d| 00000190 65 66 69 6e 65 20 49 42 41 52 5f 4f 4e 4c 45 46 |efine IBAR_ONLEF| 000001a0 54 20 20 20 20 20 2d 32 0a 23 64 65 66 69 6e 65 |T -2.#define| 000001b0 20 49 42 41 52 5f 50 52 49 4f 52 5f 41 50 50 20 | IBAR_PRIOR_APP | 000001c0 20 30 0a 0a 2f 2a 20 23 44 65 66 69 6e 65 73 20 | 0../* #Defines | 000001d0 66 6f 72 20 69 63 6f 6e 20 66 6c 61 67 73 20 2a |for icon flags *| 000001e0 2f 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 49 |/.#define ICON_I| 000001f0 53 54 45 58 54 20 20 20 20 20 31 75 20 3c 3c 20 |STEXT 1u << | 00000200 30 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 49 |0.#define ICON_I| 00000210 53 53 50 52 49 54 45 20 20 20 31 75 20 3c 3c 20 |SSPRITE 1u << | 00000220 31 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 48 |1.#define ICON_H| 00000230 41 53 42 4f 52 44 45 52 20 20 31 75 20 3c 3c 20 |ASBORDER 1u << | 00000240 32 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 48 |2.#define ICON_H| 00000250 43 45 4e 54 52 45 20 20 20 20 31 75 20 3c 3c 20 |CENTRE 1u << | 00000260 33 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 56 |3.#define ICON_V| 00000270 43 45 4e 54 52 45 20 20 20 20 31 75 20 3c 3c 20 |CENTRE 1u << | 00000280 34 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 49 |4.#define ICON_I| 00000290 53 46 49 4c 4c 45 44 20 20 20 31 75 20 3c 3c 20 |SFILLED 1u << | 000002a0 35 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 43 |5.#define ICON_C| 000002b0 4c 49 43 4b 4e 4f 54 49 46 49 45 53 4f 4e 43 45 |LICKNOTIFIESONCE| 000002c0 20 20 33 75 20 3c 3c 20 31 32 20 0a 0a 2f 2a 20 | 3u << 12 ../* | 000002d0 54 68 65 73 65 20 61 72 65 20 66 6f 72 20 61 20 |These are for a | 000002e0 53 74 79 6c 65 47 75 69 64 65 2d 63 6f 6d 70 6c |StyleGuide-compl| 000002f0 69 61 6e 74 20 73 71 75 61 72 65 20 69 63 6f 6e |iant square icon| 00000300 62 61 72 20 69 63 6f 6e 20 2d 20 77 69 74 68 6f |bar icon - witho| 00000310 75 74 20 74 65 78 74 20 2a 2f 0a 23 64 65 66 69 |ut text */.#defi| 00000320 6e 65 20 49 42 41 52 5f 42 42 4f 58 5f 4d 49 4e |ne IBAR_BBOX_MIN| 00000330 58 20 20 30 0a 23 64 65 66 69 6e 65 20 49 42 41 |X 0.#define IBA| 00000340 52 5f 42 42 4f 58 5f 4d 49 4e 59 20 20 30 0a 23 |R_BBOX_MINY 0.#| 00000350 64 65 66 69 6e 65 20 49 42 41 52 5f 42 42 4f 58 |define IBAR_BBOX| 00000360 5f 4d 41 58 58 20 20 36 38 0a 23 64 65 66 69 6e |_MAXX 68.#defin| 00000370 65 20 49 42 41 52 5f 42 42 4f 58 5f 4d 41 58 59 |e IBAR_BBOX_MAXY| 00000380 20 20 36 38 0a 0a 2f 2a 20 54 68 65 73 65 20 61 | 68../* These a| 00000390 72 65 20 66 6f 72 20 61 20 53 74 79 6c 65 47 75 |re for a StyleGu| 000003a0 69 64 65 2d 63 6f 6d 70 6c 69 61 6e 74 20 73 71 |ide-compliant sq| 000003b0 75 61 72 65 20 69 63 6f 6e 62 61 72 20 69 63 6f |uare iconbar ico| 000003c0 6e 20 2d 20 77 69 74 68 20 74 65 78 74 20 2a 2f |n - with text */| 000003d0 0a 23 64 65 66 69 6e 65 20 49 42 41 52 54 5f 42 |.#define IBART_B| 000003e0 42 4f 58 5f 4d 49 4e 58 20 30 0a 23 64 65 66 69 |BOX_MINX 0.#defi| 000003f0 6e 65 20 49 42 41 52 54 5f 42 42 4f 58 5f 4d 49 |ne IBART_BBOX_MI| 00000400 4e 59 20 32 30 0a 23 64 65 66 69 6e 65 20 49 42 |NY 20.#define IB| 00000410 41 52 54 5f 42 42 4f 58 5f 4d 41 58 58 20 36 38 |ART_BBOX_MAXX 68| 00000420 0a 23 64 65 66 69 6e 65 20 49 42 41 52 54 5f 42 |.#define IBART_B| 00000430 42 4f 58 5f 4d 41 58 59 20 38 34 0a 0a 2f 2a 20 |BOX_MAXY 84../* | 00000440 23 44 65 66 69 6e 65 73 20 66 6f 72 20 6d 65 6e |#Defines for men| 00000450 75 20 63 72 65 61 74 69 6f 6e 20 2a 2f 0a 0a 23 |u creation */..#| 00000460 64 65 66 69 6e 65 20 4d 45 4e 55 5f 54 49 54 4c |define MENU_TITL| 00000470 45 46 4f 52 45 20 20 37 75 0a 23 64 65 66 69 6e |EFORE 7u.#defin| 00000480 65 20 4d 45 4e 55 5f 54 49 54 4c 45 42 41 43 4b |e MENU_TITLEBACK| 00000490 20 20 32 75 20 3c 3c 20 38 0a 23 64 65 66 69 6e | 2u << 8.#defin| 000004a0 65 20 4d 45 4e 55 5f 57 4f 52 4b 46 4f 52 45 20 |e MENU_WORKFORE | 000004b0 20 20 37 75 20 3c 3c 20 31 36 0a 23 64 65 66 69 | 7u << 16.#defi| 000004c0 6e 65 20 4d 45 4e 55 5f 57 4f 52 4b 42 41 43 4b |ne MENU_WORKBACK| 000004d0 20 20 20 30 75 20 3c 3c 20 32 34 20 2f 2a 20 74 | 0u << 24 /* t| 000004e0 68 65 73 65 20 64 65 66 69 6e 65 20 63 6f 6c 6f |hese define colo| 000004f0 75 72 73 20 2a 2f 0a 23 64 65 66 69 6e 65 20 4d |urs */.#define M| 00000500 45 4e 55 5f 54 49 43 4b 20 20 20 20 20 20 20 31 |ENU_TICK 1| 00000510 75 20 3c 3c 20 30 0a 23 64 65 66 69 6e 65 20 4d |u << 0.#define M| 00000520 45 4e 55 5f 44 4f 54 54 45 44 20 20 20 20 20 31 |ENU_DOTTED 1| 00000530 75 20 3c 3c 20 31 0a 23 64 65 66 69 6e 65 20 4d |u << 1.#define M| 00000540 45 4e 55 5f 4c 41 53 54 49 54 45 4d 20 20 20 31 |ENU_LASTITEM 1| 00000550 75 20 3c 3c 20 37 0a 23 64 65 66 69 6e 65 20 4d |u << 7.#define M| 00000560 45 4e 55 5f 53 48 41 44 45 44 20 20 20 20 20 31 |ENU_SHADED 1| 00000570 75 20 3c 3c 20 32 32 0a 0a 23 64 65 66 69 6e 65 |u << 22..#define| 00000580 20 4d 45 4e 55 49 54 45 4d 5f 46 4f 52 45 20 20 | MENUITEM_FORE | 00000590 20 37 75 20 3c 3c 20 32 34 0a 23 64 65 66 69 6e | 7u << 24.#defin| 000005a0 65 20 4d 45 4e 55 49 54 45 4d 5f 42 41 43 4b 20 |e MENUITEM_BACK | 000005b0 20 20 30 75 20 3c 3c 20 32 38 0a 0a 23 64 65 66 | 0u << 28..#def| 000005c0 69 6e 65 20 4d 45 4e 55 5f 57 49 44 54 48 20 20 |ine MENU_WIDTH | 000005d0 20 20 20 20 31 37 32 20 2f 2a 20 63 6f 75 6c 64 | 172 /* could| 000005e0 20 62 65 20 6d 6f 72 65 20 69 6e 74 65 6c 6c 69 | be more intelli| 000005f0 67 65 6e 74 2c 20 62 75 74 20 69 74 27 73 20 61 |gent, but it's a| 00000600 20 73 74 61 72 74 20 2a 2f 0a 23 64 65 66 69 6e | start */.#defin| 00000610 65 20 4d 45 4e 55 5f 48 45 49 47 48 54 20 20 20 |e MENU_HEIGHT | 00000620 20 20 34 34 20 2f 2a 20 62 79 20 6f 72 64 65 72 | 44 /* by order| 00000630 20 6f 66 20 74 68 65 20 53 74 79 6c 65 20 47 75 | of the Style Gu| 00000640 69 64 65 20 2a 2f 0a 23 64 65 66 69 6e 65 20 4d |ide */.#define M| 00000650 45 4e 55 5f 56 45 52 54 47 41 50 20 20 20 20 30 |ENU_VERTGAP 0| 00000660 0a 0a 2f 2a 20 53 69 7a 65 73 20 66 6f 72 20 62 |../* Sizes for b| 00000670 6c 6f 63 6b 20 64 65 66 69 6e 69 74 69 6f 6e 73 |lock definitions| 00000680 20 2a 2f 0a 0a 23 64 65 66 69 6e 65 20 49 43 4f | */..#define ICO| 00000690 4e 5f 42 4c 4f 43 4b 5f 53 49 5a 45 20 34 30 0a |N_BLOCK_SIZE 40.| 000006a0 0a 2f 2a 20 53 74 72 75 63 74 75 72 65 20 64 65 |./* Structure de| 000006b0 66 69 6e 69 74 69 6f 6e 73 20 2a 2f 0a 0a 74 79 |finitions */..ty| 000006c0 70 65 64 65 66 20 73 74 72 75 63 74 20 77 69 6e |pedef struct win| 000006d0 64 6f 77 5f 64 61 74 61 20 7b 0a 20 20 20 20 20 |dow_data {. | 000006e0 20 20 20 69 6e 74 20 20 20 20 20 77 69 6e 5f 68 | int win_h| 000006f0 61 6e 64 6c 65 3b 0a 20 20 20 20 20 20 20 20 75 |andle;. u| 00000700 6e 73 69 67 6e 65 64 20 63 68 61 72 20 20 20 2a |nsigned char *| 00000710 62 75 66 66 65 72 3b 0a 20 20 20 20 20 20 20 20 |buffer;. | 00000720 75 6e 73 69 67 6e 65 64 20 63 68 61 72 20 20 20 |unsigned char | 00000730 2a 77 6f 72 6b 73 70 61 63 65 3b 0a 20 20 20 20 |*workspace;. | 00000740 20 20 20 20 63 68 61 72 20 2a 77 69 6e 5f 6e 61 | char *win_na| 00000750 6d 65 3b 0a 7d 20 77 69 6e 64 6f 77 5f 64 61 74 |me;.} window_dat| 00000760 61 3b 0a 0a 74 79 70 65 64 65 66 20 73 74 72 75 |a;..typedef stru| 00000770 63 74 20 6d 65 6e 75 5f 65 6c 65 6d 65 6e 74 20 |ct menu_element | 00000780 7b 0a 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 69 |{. long i| 00000790 6e 74 20 66 6c 61 67 73 3b 0a 20 20 20 20 20 20 |nt flags;. | 000007a0 20 20 6c 6f 6e 67 20 69 6e 74 20 73 75 62 6d 65 | long int subme| 000007b0 6e 75 3b 0a 20 20 20 20 20 20 20 20 6c 6f 6e 67 |nu;. long| 000007c0 20 69 6e 74 20 6d 65 6e 75 5f 69 63 6f 6e 66 6c | int menu_iconfl| 000007d0 61 67 73 3b 0a 20 20 20 20 20 20 20 20 63 68 61 |ags;. cha| 000007e0 72 20 6d 65 6e 75 5f 74 65 78 74 5b 31 32 5d 3b |r menu_text[12];| 000007f0 0a 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 |. struct | 00000800 6d 65 6e 75 5f 65 6c 65 6d 65 6e 74 20 2a 6e 65 |menu_element *ne| 00000810 78 74 5f 6d 65 6e 75 65 6c 65 6d 3b 0a 7d 20 6d |xt_menuelem;.} m| 00000820 65 6e 75 5f 65 6c 65 6d 65 6e 74 3b 0a 0a 74 79 |enu_element;..ty| 00000830 70 65 64 65 66 20 73 74 72 75 63 74 20 6d 65 6e |pedef struct men| 00000840 75 5f 64 61 74 61 20 7b 0a 20 20 20 20 20 20 20 |u_data {. | 00000850 20 63 68 61 72 20 74 69 74 6c 65 5b 31 32 5d 3b | char title[12];| 00000860 0a 20 20 20 20 20 20 20 20 69 6e 74 20 73 69 7a |. int siz| 00000870 65 3b 0a 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 |e;. long | 00000880 69 6e 74 20 63 6f 6c 6f 75 72 73 3b 0a 20 20 20 |int colours;. | 00000890 20 20 20 20 20 6c 6f 6e 67 20 69 6e 74 20 77 69 | long int wi| 000008a0 64 74 68 3b 0a 20 20 20 20 20 20 20 20 6c 6f 6e |dth;. lon| 000008b0 67 20 69 6e 74 20 68 65 69 67 68 74 3b 0a 20 20 |g int height;. | 000008c0 20 20 20 20 20 20 6c 6f 6e 67 20 69 6e 74 20 76 | long int v| 000008d0 65 72 74 5f 67 61 70 3b 0a 20 20 20 20 20 20 20 |ert_gap;. | 000008e0 20 75 6e 73 69 67 6e 65 64 20 63 68 61 72 2a 20 | unsigned char* | 000008f0 64 61 74 61 62 6c 6f 63 6b 3b 0a 20 20 20 20 20 |datablock;. | 00000900 20 20 20 6d 65 6e 75 5f 65 6c 65 6d 65 6e 74 20 | menu_element | 00000910 2a 6e 65 78 74 5f 6d 65 6e 75 65 6c 65 6d 3b 0a |*next_menuelem;.| 00000920 7d 20 6d 65 6e 75 5f 64 61 74 61 3b 0a 0a 2f 2a |} menu_data;../*| 00000930 20 50 72 6f 74 6f 74 79 70 69 6e 67 20 2a 2f 0a | Prototyping */.| 00000940 65 78 74 65 72 6e 20 69 6e 74 20 20 20 20 20 20 |extern int | 00000950 61 75 5f 69 6e 69 74 69 61 6c 69 73 65 28 69 6e |au_initialise(in| 00000960 74 2c 20 63 68 61 72 20 2a 2c 20 6c 6f 6e 67 20 |t, char *, long | 00000970 69 6e 74 5b 5d 29 3b 0a 65 78 74 65 72 6e 20 76 |int[]);.extern v| 00000980 6f 69 64 20 20 20 20 20 61 75 5f 63 6c 6f 73 65 |oid au_close| 00000990 64 6f 77 6e 28 69 6e 74 29 3b 0a 65 78 74 65 72 |down(int);.exter| 000009a0 6e 20 69 6e 74 20 20 20 20 20 20 61 75 5f 63 72 |n int au_cr| 000009b0 65 61 74 65 5f 69 63 6f 6e 62 61 72 5f 69 63 6f |eate_iconbar_ico| 000009c0 6e 28 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 20 |n(int, unsigned | 000009d0 6c 6f 6e 67 20 69 6e 74 2c 20 75 6e 73 69 67 6e |long int, unsign| 000009e0 65 64 20 6c 6f 6e 67 20 69 6e 74 2c 20 63 68 61 |ed long int, cha| 000009f0 72 20 2a 29 3b 0a 65 78 74 65 72 6e 20 76 6f 69 |r *);.extern voi| 00000a00 64 20 20 20 20 20 61 75 5f 77 6f 72 64 74 6f 62 |d au_wordtob| 00000a10 79 74 65 28 75 6e 73 69 67 6e 65 64 20 6c 6f 6e |yte(unsigned lon| 00000a20 67 20 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 20 |g int, unsigned | 00000a30 63 68 61 72 5b 5d 2c 20 69 6e 74 29 3b 0a 65 78 |char[], int);.ex| 00000a40 74 65 72 6e 20 75 6e 73 69 67 6e 65 64 20 6c 6f |tern unsigned lo| 00000a50 6e 67 20 69 6e 74 20 20 20 20 20 20 20 20 61 75 |ng int au| 00000a60 5f 62 79 74 65 74 6f 77 6f 72 64 28 75 6e 73 69 |_bytetoword(unsi| 00000a70 67 6e 65 64 20 63 68 61 72 5b 5d 2c 20 69 6e 74 |gned char[], int| 00000a80 29 3b 0a 65 78 74 65 72 6e 20 76 6f 69 64 20 20 |);.extern void | 00000a90 20 20 20 61 75 5f 6f 70 65 6e 74 65 6d 70 6c 61 | au_opentempla| 00000aa0 74 65 28 63 68 61 72 20 2a 29 3b 0a 65 78 74 65 |te(char *);.exte| 00000ab0 72 6e 20 76 6f 69 64 20 20 20 20 20 61 75 5f 63 |rn void au_c| 00000ac0 6c 6f 73 65 74 65 6d 70 6c 61 74 65 28 76 6f 69 |losetemplate(voi| 00000ad0 64 29 3b 0a 65 78 74 65 72 6e 20 69 6e 74 20 20 |d);.extern int | 00000ae0 20 20 20 20 61 75 5f 6c 6f 61 64 74 65 6d 70 6c | au_loadtempl| 00000af0 61 74 65 28 63 68 61 72 20 2a 2c 20 77 69 6e 64 |ate(char *, wind| 00000b00 6f 77 5f 64 61 74 61 20 2a 2c 20 69 6e 74 29 3b |ow_data *, int);| 00000b10 0a 65 78 74 65 72 6e 20 69 6e 74 20 20 20 20 20 |.extern int | 00000b20 20 61 75 5f 72 65 70 6f 72 74 5f 65 72 72 6f 72 | au_report_error| 00000b30 28 69 6e 74 2c 20 63 68 61 72 20 2a 2c 20 69 6e |(int, char *, in| 00000b40 74 2c 20 63 68 61 72 20 2a 29 3b 0a 65 78 74 65 |t, char *);.exte| 00000b50 72 6e 20 76 6f 69 64 20 20 20 20 20 61 75 5f 6f |rn void au_o| 00000b60 70 65 6e 77 69 6e 5f 66 72 6f 6d 5f 74 65 6d 70 |penwin_from_temp| 00000b70 6c 61 74 65 64 61 74 61 28 77 69 6e 64 6f 77 5f |latedata(window_| 00000b80 64 61 74 61 20 2a 2c 20 6c 6f 6e 67 20 69 6e 74 |data *, long int| 00000b90 29 3b 0a 65 78 74 65 72 6e 20 69 6e 74 20 20 20 |);.extern int | 00000ba0 20 20 20 61 75 5f 77 69 6d 70 5f 70 6f 6c 6c 28 | au_wimp_poll(| 00000bb0 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 20 63 68 |int, unsigned ch| 00000bc0 61 72 20 2a 29 3b 0a 65 78 74 65 72 6e 20 76 6f |ar *);.extern vo| 00000bd0 69 64 20 20 20 20 20 61 75 5f 69 63 6f 6e 5f 74 |id au_icon_t| 00000be0 65 78 74 5f 63 68 61 6e 67 65 28 63 68 61 72 20 |ext_change(char | 00000bf0 2a 2c 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 |*, unsigned long| 00000c00 20 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 20 6c | int, unsigned l| 00000c10 6f 6e 67 20 69 6e 74 29 3b 0a 65 78 74 65 72 6e |ong int);.extern| 00000c20 20 63 68 61 72 20 20 20 20 20 2a 61 75 5f 67 65 | char *au_ge| 00000c30 74 5f 70 74 72 5f 74 6f 5f 69 63 6f 6e 74 65 78 |t_ptr_to_icontex| 00000c40 74 28 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 |t(unsigned long | 00000c50 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 20 6c 6f |int, unsigned lo| 00000c60 6e 67 20 69 6e 74 29 3b 0a 65 78 74 65 72 6e 20 |ng int);.extern | 00000c70 76 6f 69 64 20 20 20 20 20 61 75 5f 62 75 69 6c |void au_buil| 00000c80 64 6d 65 6e 75 28 63 68 61 72 20 2a 2c 20 6d 65 |dmenu(char *, me| 00000c90 6e 75 5f 64 61 74 61 20 2a 29 3b 0a 65 78 74 65 |nu_data *);.exte| 00000ca0 72 6e 20 76 6f 69 64 20 20 20 20 20 61 75 5f 61 |rn void au_a| 00000cb0 64 64 74 6f 6d 65 6e 75 28 63 68 61 72 20 2a 2c |ddtomenu(char *,| 00000cc0 20 6c 6f 6e 67 20 69 6e 74 2c 20 6c 6f 6e 67 20 | long int, long | 00000cd0 69 6e 74 2c 20 6c 6f 6e 67 20 69 6e 74 2c 20 6d |int, long int, m| 00000ce0 65 6e 75 5f 64 61 74 61 20 2a 29 3b 0a 65 78 74 |enu_data *);.ext| 00000cf0 65 72 6e 20 76 6f 69 64 20 20 20 20 20 61 75 5f |ern void au_| 00000d00 63 72 65 61 74 65 6d 65 6e 75 28 6d 65 6e 75 5f |createmenu(menu_| 00000d10 64 61 74 61 20 2a 29 3b 0a 65 78 74 65 72 6e 20 |data *);.extern | 00000d20 76 6f 69 64 20 20 20 20 20 61 75 5f 6f 70 65 6e |void au_open| 00000d30 6d 65 6e 75 28 6d 65 6e 75 5f 64 61 74 61 20 2a |menu(menu_data *| 00000d40 2c 20 69 6e 74 2c 20 69 6e 74 29 3b 0a 0a 23 65 |, int, int);..#e| 00000d50 6e 64 69 66 0a |ndif.| 00000d55
WimpC/!RAPS/h/AULib
00000000 2f 2a 20 41 55 4c 69 62 2e 68 20 2d 20 61 20 68 |/* AULib.h - a h| 00000010 65 61 64 65 72 20 66 69 6c 65 20 66 6f 72 20 74 |eader file for t| 00000020 68 65 20 41 63 6f 72 6e 20 55 73 65 72 20 57 49 |he Acorn User WI| 00000030 4d 50 20 43 20 6c 69 62 72 61 72 79 20 2a 2f 0a |MP C library */.| 00000040 0a 23 69 66 6e 64 65 66 20 41 55 4c 49 42 5f 48 |.#ifndef AULIB_H| 00000050 0a 23 64 65 66 69 6e 65 20 41 55 4c 49 42 5f 48 |.#define AULIB_H| 00000060 0a 0a 2f 2a 20 23 49 6e 63 6c 75 64 65 20 74 68 |../* #Include th| 00000070 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 66 69 |e appropriate fi| 00000080 6c 65 73 20 2d 20 73 77 69 73 2e 68 20 61 6e 64 |les - swis.h and| 00000090 20 6b 65 72 6e 65 6c 2e 68 20 68 6f 6c 64 20 74 | kernel.h hold t| 000000a0 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 |he information. | 000000b0 2a 20 77 65 20 6e 65 65 64 20 74 6f 20 63 61 6c |* we need to cal| 000000c0 6c 20 53 57 49 20 66 75 6e 63 74 69 6f 6e 73 20 |l SWI functions | 000000d0 66 72 6f 6d 20 77 69 74 68 69 6e 20 43 20 2a 2f |from within C */| 000000e0 0a 0a 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 69 |..#include <stdi| 000000f0 6f 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 73 |o.h>.#include <s| 00000100 74 72 69 6e 67 2e 68 3e 0a 23 69 6e 63 6c 75 64 |tring.h>.#includ| 00000110 65 20 3c 73 74 64 6c 69 62 2e 68 3e 0a 23 69 6e |e <stdlib.h>.#in| 00000120 63 6c 75 64 65 20 22 73 77 69 73 2e 68 22 0a 23 |clude "swis.h".#| 00000130 69 6e 63 6c 75 64 65 20 22 6b 65 72 6e 65 6c 2e |include "kernel.| 00000140 68 22 0a 0a 2f 2a 20 41 20 66 65 77 20 23 64 65 |h"../* A few #de| 00000150 66 69 6e 65 73 20 74 6f 20 73 65 74 20 75 70 20 |fines to set up | 00000160 73 6f 6d 65 20 63 6f 6e 73 74 61 6e 74 73 20 2a |some constants *| 00000170 2f 0a 0a 23 64 65 66 69 6e 65 20 49 42 41 52 5f |/..#define IBAR_| 00000180 4f 4e 52 49 47 48 54 09 2d 31 0a 23 64 65 66 69 |ONRIGHT.-1.#defi| 00000190 6e 65 20 49 42 41 52 5f 4f 4e 4c 45 46 54 09 2d |ne IBAR_ONLEFT.-| 000001a0 32 0a 23 64 65 66 69 6e 65 20 49 42 41 52 5f 50 |2.#define IBAR_P| 000001b0 52 49 4f 52 5f 41 50 50 09 30 0a 0a 2f 2a 20 23 |RIOR_APP.0../* #| 000001c0 44 65 66 69 6e 65 73 20 66 6f 72 20 69 63 6f 6e |Defines for icon| 000001d0 20 66 6c 61 67 73 20 2a 2f 0a 23 64 65 66 69 6e | flags */.#defin| 000001e0 65 20 49 43 4f 4e 5f 49 53 54 45 58 54 09 31 75 |e ICON_ISTEXT.1u| 000001f0 20 3c 3c 20 30 0a 23 64 65 66 69 6e 65 20 49 43 | << 0.#define IC| 00000200 4f 4e 5f 49 53 53 50 52 49 54 45 09 31 75 20 3c |ON_ISSPRITE.1u <| 00000210 3c 20 31 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e |< 1.#define ICON| 00000220 5f 48 41 53 42 4f 52 44 45 52 09 31 75 20 3c 3c |_HASBORDER.1u <<| 00000230 20 32 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f | 2.#define ICON_| 00000240 48 43 45 4e 54 52 45 09 31 75 20 3c 3c 20 33 0a |HCENTRE.1u << 3.| 00000250 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f 56 43 45 |#define ICON_VCE| 00000260 4e 54 52 45 09 31 75 20 3c 3c 20 34 0a 23 64 65 |NTRE.1u << 4.#de| 00000270 66 69 6e 65 20 49 43 4f 4e 5f 49 53 46 49 4c 4c |fine ICON_ISFILL| 00000280 45 44 09 31 75 20 3c 3c 20 35 0a 23 64 65 66 69 |ED.1u << 5.#defi| 00000290 6e 65 20 49 43 4f 4e 5f 43 4c 49 43 4b 4e 4f 54 |ne ICON_CLICKNOT| 000002a0 49 46 49 45 53 4f 4e 43 45 09 33 75 20 3c 3c 20 |IFIESONCE.3u << | 000002b0 31 32 20 0a 0a 2f 2a 20 54 68 65 73 65 20 61 72 |12 ../* These ar| 000002c0 65 20 66 6f 72 20 61 20 53 74 79 6c 65 47 75 69 |e for a StyleGui| 000002d0 64 65 2d 63 6f 6d 70 6c 69 61 6e 74 20 73 71 75 |de-compliant squ| 000002e0 61 72 65 20 69 63 6f 6e 62 61 72 20 69 63 6f 6e |are iconbar icon| 000002f0 20 2d 20 77 69 74 68 6f 75 74 20 74 65 78 74 20 | - without text | 00000300 2a 2f 0a 23 64 65 66 69 6e 65 20 49 42 41 52 5f |*/.#define IBAR_| 00000310 42 42 4f 58 5f 4d 49 4e 58 09 30 0a 23 64 65 66 |BBOX_MINX.0.#def| 00000320 69 6e 65 20 49 42 41 52 5f 42 42 4f 58 5f 4d 49 |ine IBAR_BBOX_MI| 00000330 4e 59 09 30 0a 23 64 65 66 69 6e 65 20 49 42 41 |NY.0.#define IBA| 00000340 52 5f 42 42 4f 58 5f 4d 41 58 58 09 36 38 0a 23 |R_BBOX_MAXX.68.#| 00000350 64 65 66 69 6e 65 20 49 42 41 52 5f 42 42 4f 58 |define IBAR_BBOX| 00000360 5f 4d 41 58 59 09 36 38 0a 0a 2f 2a 20 54 68 65 |_MAXY.68../* The| 00000370 73 65 20 61 72 65 20 66 6f 72 20 61 20 53 74 79 |se are for a Sty| 00000380 6c 65 47 75 69 64 65 2d 63 6f 6d 70 6c 69 61 6e |leGuide-complian| 00000390 74 20 73 71 75 61 72 65 20 69 63 6f 6e 62 61 72 |t square iconbar| 000003a0 20 69 63 6f 6e 20 2d 20 77 69 74 68 20 74 65 78 | icon - with tex| 000003b0 74 20 2a 2f 0a 23 64 65 66 69 6e 65 20 49 42 41 |t */.#define IBA| 000003c0 52 54 5f 42 42 4f 58 5f 4d 49 4e 58 09 30 0a 23 |RT_BBOX_MINX.0.#| 000003d0 64 65 66 69 6e 65 20 49 42 41 52 54 5f 42 42 4f |define IBART_BBO| 000003e0 58 5f 4d 49 4e 59 09 32 30 0a 23 64 65 66 69 6e |X_MINY.20.#defin| 000003f0 65 20 49 42 41 52 54 5f 42 42 4f 58 5f 4d 41 58 |e IBART_BBOX_MAX| 00000400 58 09 36 38 0a 23 64 65 66 69 6e 65 20 49 42 41 |X.68.#define IBA| 00000410 52 54 5f 42 42 4f 58 5f 4d 41 58 59 09 38 34 0a |RT_BBOX_MAXY.84.| 00000420 0a 2f 2a 20 23 44 65 66 69 6e 65 73 20 66 6f 72 |./* #Defines for| 00000430 20 6d 65 6e 75 20 63 72 65 61 74 69 6f 6e 20 2a | menu creation *| 00000440 2f 0a 0a 23 64 65 66 69 6e 65 20 4d 45 4e 55 5f |/..#define MENU_| 00000450 54 49 54 4c 45 46 4f 52 45 09 37 75 0a 23 64 65 |TITLEFORE.7u.#de| 00000460 66 69 6e 65 20 4d 45 4e 55 5f 54 49 54 4c 45 42 |fine MENU_TITLEB| 00000470 41 43 4b 09 32 75 20 3c 3c 20 38 0a 23 64 65 66 |ACK.2u << 8.#def| 00000480 69 6e 65 20 4d 45 4e 55 5f 57 4f 52 4b 46 4f 52 |ine MENU_WORKFOR| 00000490 45 09 37 75 20 3c 3c 20 31 36 0a 23 64 65 66 69 |E.7u << 16.#defi| 000004a0 6e 65 20 4d 45 4e 55 5f 57 4f 52 4b 42 41 43 4b |ne MENU_WORKBACK| 000004b0 09 30 75 20 3c 3c 20 32 34 20 2f 2a 20 74 68 65 |.0u << 24 /* the| 000004c0 73 65 20 64 65 66 69 6e 65 20 63 6f 6c 6f 75 72 |se define colour| 000004d0 73 20 2a 2f 0a 23 64 65 66 69 6e 65 20 4d 45 4e |s */.#define MEN| 000004e0 55 5f 54 49 43 4b 09 31 75 20 3c 3c 20 30 0a 23 |U_TICK.1u << 0.#| 000004f0 64 65 66 69 6e 65 20 4d 45 4e 55 5f 44 4f 54 54 |define MENU_DOTT| 00000500 45 44 09 31 75 20 3c 3c 20 31 0a 23 64 65 66 69 |ED.1u << 1.#defi| 00000510 6e 65 20 4d 45 4e 55 5f 4c 41 53 54 49 54 45 4d |ne MENU_LASTITEM| 00000520 09 31 75 20 3c 3c 20 37 0a 23 64 65 66 69 6e 65 |.1u << 7.#define| 00000530 20 4d 45 4e 55 5f 53 48 41 44 45 44 09 31 75 20 | MENU_SHADED.1u | 00000540 3c 3c 20 32 32 0a 0a 23 64 65 66 69 6e 65 20 4d |<< 22..#define M| 00000550 45 4e 55 49 54 45 4d 5f 46 4f 52 45 09 37 75 20 |ENUITEM_FORE.7u | 00000560 3c 3c 20 32 34 0a 23 64 65 66 69 6e 65 20 4d 45 |<< 24.#define ME| 00000570 4e 55 49 54 45 4d 5f 42 41 43 4b 09 30 75 20 3c |NUITEM_BACK.0u <| 00000580 3c 20 32 38 0a 0a 23 64 65 66 69 6e 65 20 4d 45 |< 28..#define ME| 00000590 4e 55 5f 57 49 44 54 48 09 31 37 32 20 2f 2a 20 |NU_WIDTH.172 /* | 000005a0 63 6f 75 6c 64 20 62 65 20 6d 6f 72 65 20 69 6e |could be more in| 000005b0 74 65 6c 6c 69 67 65 6e 74 2c 20 62 75 74 20 69 |telligent, but i| 000005c0 74 27 73 20 61 20 73 74 61 72 74 20 2a 2f 0a 23 |t's a start */.#| 000005d0 64 65 66 69 6e 65 20 4d 45 4e 55 5f 48 45 49 47 |define MENU_HEIG| 000005e0 48 54 09 34 34 20 2f 2a 20 62 79 20 6f 72 64 65 |HT.44 /* by orde| 000005f0 72 20 6f 66 20 74 68 65 20 53 74 79 6c 65 20 47 |r of the Style G| 00000600 75 69 64 65 20 2a 2f 0a 23 64 65 66 69 6e 65 20 |uide */.#define | 00000610 4d 45 4e 55 5f 56 45 52 54 47 41 50 09 30 0a 0a |MENU_VERTGAP.0..| 00000620 2f 2a 20 53 69 7a 65 73 20 66 6f 72 20 62 6c 6f |/* Sizes for blo| 00000630 63 6b 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 2a |ck definitions *| 00000640 2f 0a 0a 23 64 65 66 69 6e 65 20 49 43 4f 4e 5f |/..#define ICON_| 00000650 42 4c 4f 43 4b 5f 53 49 5a 45 09 34 30 0a 0a 2f |BLOCK_SIZE.40../| 00000660 2a 20 53 74 72 75 63 74 75 72 65 20 64 65 66 69 |* Structure defi| 00000670 6e 69 74 69 6f 6e 73 20 2a 2f 0a 0a 74 79 70 65 |nitions */..type| 00000680 64 65 66 20 73 74 72 75 63 74 20 77 69 6e 64 6f |def struct windo| 00000690 77 5f 64 61 74 61 20 7b 0a 09 69 6e 74 09 77 69 |w_data {..int.wi| 000006a0 6e 5f 68 61 6e 64 6c 65 3b 0a 09 75 6e 73 69 67 |n_handle;..unsig| 000006b0 6e 65 64 20 63 68 61 72 09 2a 62 75 66 66 65 72 |ned char.*buffer| 000006c0 3b 0a 09 75 6e 73 69 67 6e 65 64 20 63 68 61 72 |;..unsigned char| 000006d0 09 2a 77 6f 72 6b 73 70 61 63 65 3b 0a 09 63 68 |.*workspace;..ch| 000006e0 61 72 20 2a 77 69 6e 5f 6e 61 6d 65 3b 0a 7d 20 |ar *win_name;.} | 000006f0 77 69 6e 64 6f 77 5f 64 61 74 61 3b 0a 0a 74 79 |window_data;..ty| 00000700 70 65 64 65 66 20 73 74 72 75 63 74 20 6d 65 6e |pedef struct men| 00000710 75 5f 65 6c 65 6d 65 6e 74 20 7b 0a 09 6c 6f 6e |u_element {..lon| 00000720 67 20 69 6e 74 20 66 6c 61 67 73 3b 0a 09 6c 6f |g int flags;..lo| 00000730 6e 67 20 69 6e 74 20 73 75 62 6d 65 6e 75 3b 0a |ng int submenu;.| 00000740 09 6c 6f 6e 67 20 69 6e 74 20 6d 65 6e 75 5f 69 |.long int menu_i| 00000750 63 6f 6e 66 6c 61 67 73 3b 0a 09 63 68 61 72 20 |conflags;..char | 00000760 6d 65 6e 75 5f 74 65 78 74 5b 31 32 5d 3b 0a 09 |menu_text[12];..| 00000770 73 74 72 75 63 74 20 6d 65 6e 75 5f 65 6c 65 6d |struct menu_elem| 00000780 65 6e 74 20 2a 6e 65 78 74 5f 6d 65 6e 75 65 6c |ent *next_menuel| 00000790 65 6d 3b 0a 7d 20 6d 65 6e 75 5f 65 6c 65 6d 65 |em;.} menu_eleme| 000007a0 6e 74 3b 0a 0a 74 79 70 65 64 65 66 20 73 74 72 |nt;..typedef str| 000007b0 75 63 74 20 6d 65 6e 75 5f 64 61 74 61 20 7b 0a |uct menu_data {.| 000007c0 09 63 68 61 72 20 74 69 74 6c 65 5b 31 32 5d 3b |.char title[12];| 000007d0 0a 09 69 6e 74 20 73 69 7a 65 3b 0a 09 6c 6f 6e |..int size;..lon| 000007e0 67 20 69 6e 74 20 63 6f 6c 6f 75 72 73 3b 0a 09 |g int colours;..| 000007f0 6c 6f 6e 67 20 69 6e 74 20 77 69 64 74 68 3b 0a |long int width;.| 00000800 09 6c 6f 6e 67 20 69 6e 74 20 68 65 69 67 68 74 |.long int height| 00000810 3b 0a 09 6c 6f 6e 67 20 69 6e 74 20 76 65 72 74 |;..long int vert| 00000820 5f 67 61 70 3b 0a 09 75 6e 73 69 67 6e 65 64 20 |_gap;..unsigned | 00000830 63 68 61 72 2a 20 64 61 74 61 62 6c 6f 63 6b 3b |char* datablock;| 00000840 0a 09 6d 65 6e 75 5f 65 6c 65 6d 65 6e 74 20 2a |..menu_element *| 00000850 6e 65 78 74 5f 6d 65 6e 75 65 6c 65 6d 3b 0a 7d |next_menuelem;.}| 00000860 20 6d 65 6e 75 5f 64 61 74 61 3b 0a 0a 2f 2a 20 | menu_data;../* | 00000870 50 72 6f 74 6f 74 79 70 69 6e 67 20 2a 2f 0a 65 |Prototyping */.e| 00000880 78 74 65 72 6e 20 69 6e 74 09 61 75 5f 69 6e 69 |xtern int.au_ini| 00000890 74 69 61 6c 69 73 65 28 69 6e 74 2c 20 63 68 61 |tialise(int, cha| 000008a0 72 20 2a 2c 20 6c 6f 6e 67 20 69 6e 74 5b 5d 29 |r *, long int[])| 000008b0 3b 0a 65 78 74 65 72 6e 20 76 6f 69 64 09 61 75 |;.extern void.au| 000008c0 5f 63 6c 6f 73 65 64 6f 77 6e 28 69 6e 74 29 3b |_closedown(int);| 000008d0 0a 65 78 74 65 72 6e 20 69 6e 74 09 61 75 5f 63 |.extern int.au_c| 000008e0 72 65 61 74 65 5f 69 63 6f 6e 62 61 72 5f 69 63 |reate_iconbar_ic| 000008f0 6f 6e 28 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 |on(int, unsigned| 00000900 20 6c 6f 6e 67 20 69 6e 74 2c 20 75 6e 73 69 67 | long int, unsig| 00000910 6e 65 64 20 6c 6f 6e 67 20 69 6e 74 2c 20 63 68 |ned long int, ch| 00000920 61 72 20 2a 29 3b 0a 65 78 74 65 72 6e 20 76 6f |ar *);.extern vo| 00000930 69 64 09 61 75 5f 77 6f 72 64 74 6f 62 79 74 65 |id.au_wordtobyte| 00000940 28 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 69 |(unsigned long i| 00000950 6e 74 2c 20 75 6e 73 69 67 6e 65 64 20 63 68 61 |nt, unsigned cha| 00000960 72 5b 5d 2c 20 69 6e 74 29 3b 0a 65 78 74 65 72 |r[], int);.exter| 00000970 6e 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 |n unsigned long | 00000980 69 6e 74 09 61 75 5f 62 79 74 65 74 6f 77 6f 72 |int.au_bytetowor| 00000990 64 28 75 6e 73 69 67 6e 65 64 20 63 68 61 72 5b |d(unsigned char[| 000009a0 5d 2c 20 69 6e 74 29 3b 0a 65 78 74 65 72 6e 20 |], int);.extern | 000009b0 76 6f 69 64 09 61 75 5f 6f 70 65 6e 74 65 6d 70 |void.au_opentemp| 000009c0 6c 61 74 65 28 63 68 61 72 20 2a 29 3b 0a 65 78 |late(char *);.ex| 000009d0 74 65 72 6e 20 76 6f 69 64 09 61 75 5f 63 6c 6f |tern void.au_clo| 000009e0 73 65 74 65 6d 70 6c 61 74 65 28 76 6f 69 64 29 |setemplate(void)| 000009f0 3b 0a 65 78 74 65 72 6e 20 69 6e 74 09 61 75 5f |;.extern int.au_| 00000a00 6c 6f 61 64 74 65 6d 70 6c 61 74 65 28 63 68 61 |loadtemplate(cha| 00000a10 72 20 2a 2c 20 77 69 6e 64 6f 77 5f 64 61 74 61 |r *, window_data| 00000a20 20 2a 2c 20 69 6e 74 29 3b 0a 65 78 74 65 72 6e | *, int);.extern| 00000a30 20 69 6e 74 09 61 75 5f 72 65 70 6f 72 74 5f 65 | int.au_report_e| 00000a40 72 72 6f 72 28 69 6e 74 2c 20 63 68 61 72 20 2a |rror(int, char *| 00000a50 2c 20 69 6e 74 2c 20 63 68 61 72 20 2a 29 3b 0a |, int, char *);.| 00000a60 65 78 74 65 72 6e 20 76 6f 69 64 09 61 75 5f 6f |extern void.au_o| 00000a70 70 65 6e 77 69 6e 5f 66 72 6f 6d 5f 74 65 6d 70 |penwin_from_temp| 00000a80 6c 61 74 65 64 61 74 61 28 77 69 6e 64 6f 77 5f |latedata(window_| 00000a90 64 61 74 61 20 2a 2c 20 6c 6f 6e 67 20 69 6e 74 |data *, long int| 00000aa0 29 3b 0a 65 78 74 65 72 6e 20 69 6e 74 09 61 75 |);.extern int.au| 00000ab0 5f 77 69 6d 70 5f 70 6f 6c 6c 28 69 6e 74 2c 20 |_wimp_poll(int, | 00000ac0 75 6e 73 69 67 6e 65 64 20 63 68 61 72 20 2a 29 |unsigned char *)| 00000ad0 3b 0a 65 78 74 65 72 6e 20 76 6f 69 64 09 61 75 |;.extern void.au| 00000ae0 5f 69 63 6f 6e 5f 74 65 78 74 5f 63 68 61 6e 67 |_icon_text_chang| 00000af0 65 28 63 68 61 72 20 2a 2c 20 75 6e 73 69 67 6e |e(char *, unsign| 00000b00 65 64 20 6c 6f 6e 67 20 69 6e 74 2c 20 75 6e 73 |ed long int, uns| 00000b10 69 67 6e 65 64 20 6c 6f 6e 67 20 69 6e 74 29 3b |igned long int);| 00000b20 0a 65 78 74 65 72 6e 20 63 68 61 72 09 2a 61 75 |.extern char.*au| 00000b30 5f 67 65 74 5f 70 74 72 5f 74 6f 5f 69 63 6f 6e |_get_ptr_to_icon| 00000b40 74 65 78 74 28 75 6e 73 69 67 6e 65 64 20 6c 6f |text(unsigned lo| 00000b50 6e 67 20 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 |ng int, unsigned| 00000b60 20 6c 6f 6e 67 20 69 6e 74 29 3b 0a 65 78 74 65 | long int);.exte| 00000b70 72 6e 20 76 6f 69 64 09 61 75 5f 62 75 69 6c 64 |rn void.au_build| 00000b80 6d 65 6e 75 28 63 68 61 72 20 2a 2c 20 6d 65 6e |menu(char *, men| 00000b90 75 5f 64 61 74 61 20 2a 29 3b 0a 65 78 74 65 72 |u_data *);.exter| 00000ba0 6e 20 76 6f 69 64 09 61 75 5f 61 64 64 74 6f 6d |n void.au_addtom| 00000bb0 65 6e 75 28 63 68 61 72 20 2a 2c 20 6c 6f 6e 67 |enu(char *, long| 00000bc0 20 69 6e 74 2c 20 6c 6f 6e 67 20 69 6e 74 2c 20 | int, long int, | 00000bd0 6c 6f 6e 67 20 69 6e 74 2c 20 6d 65 6e 75 5f 64 |long int, menu_d| 00000be0 61 74 61 20 2a 29 3b 0a 65 78 74 65 72 6e 20 76 |ata *);.extern v| 00000bf0 6f 69 64 09 61 75 5f 63 72 65 61 74 65 6d 65 6e |oid.au_createmen| 00000c00 75 28 6d 65 6e 75 5f 64 61 74 61 20 2a 29 3b 0a |u(menu_data *);.| 00000c10 65 78 74 65 72 6e 20 76 6f 69 64 09 61 75 5f 6f |extern void.au_o| 00000c20 70 65 6e 6d 65 6e 75 28 6d 65 6e 75 5f 64 61 74 |penmenu(menu_dat| 00000c30 61 20 2a 2c 20 69 6e 74 2c 20 69 6e 74 29 3b 0a |a *, int, int);.| 00000c40 65 78 74 65 72 6e 20 76 6f 69 64 09 61 75 5f 69 |extern void.au_i| 00000c50 63 6f 6e 5f 67 65 74 5f 74 65 78 74 28 63 68 61 |con_get_text(cha| 00000c60 72 20 2a 2c 20 75 6e 73 69 67 6e 65 64 20 6c 6f |r *, unsigned lo| 00000c70 6e 67 20 69 6e 74 2c 20 75 6e 73 69 67 6e 65 64 |ng int, unsigned| 00000c80 20 6c 6f 6e 67 20 69 6e 74 29 3b 0a 65 78 74 65 | long int);.exte| 00000c90 72 6e 20 76 6f 69 64 09 61 75 5f 6c 6f 73 65 63 |rn void.au_losec| 00000ca0 61 72 65 74 28 76 6f 69 64 29 3b 0a 0a 23 65 6e |aret(void);..#en| 00000cb0 64 69 66 0a |dif.| 00000cb4
.