home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_07
/
ACS_PRO.LZH
/
ASC
/
DEMO_PP.PRG
/
HELLO
/
HELLO.I
< prev
next >
Wrap
Text File
|
1993-01-09
|
6KB
|
161 lines
{
This file was created with ACS 2.0 (c) Stefan Bachert 1991, 1992
The contents are based on file: F:\PASCAL\ACS2\FERTIG\HELLO\HELLO.ACS
compiled at: Thu Jan 07 21:52:30 1993
}
{ Pascal Prototypes }
Procedure call_ok;
Function hello_make (para: Pointer): AwindowPtr;
Const
{ STRINGS }
TEXT_001: packed array [1..6] of char =
'WORLD'#0;
TEXT_002: packed array [1..14] of char =
' HELLO WORLD '#0;
TEXT_003: packed array [1..1] of char =
(#0);
TEXT_005: packed array [1..6] of char =
'HELLO'#0;
TEXT_006: packed array [1..3] of char =
'OK'#0;
TEXT_01: packed array [1..21] of char =
'(C) 1991, 1992, 1993'#0;
TEXT_02: packed array [1..9] of char =
'ACS 2.00'#0;
TEXT_222: packed array [1..15] of char =
'Stefan Bachert'#0;
TEXT_244: packed array [1..6] of char =
'Autor'#0;
{ TEDINFOS }
TEDINFO_01: TEDINFO = (te_ptext: @TEXT_02; te_ptmplt: @TEXT_003; te_pvalid: @TEXT_003;
te_font: 3; te_just: 2; te_color: $1071; te_thickness: -1; te_txtlen: 9; te_tmplen: 1);
{ AUSERBLK }
A_3DBUTTON01: AUSERBLK = (ub_code: A_3Dbutton; ub_parm: $21111108; ub_serv: Auo_string; ub_ptr1: @TEXT_006; ub_ptr2: NIL; ub_ptr3: NIL);
{ IMAGES }
_IMG_SUNRISE: array [0..71] of WORD = (
$0000, $0000, $0000, $0000, $2110, $0000, $0000, $2110,
$3700, $0001, $1020, $4880, $6c00, $8782, $3700, $1000,
$1864, $0000, $000c, $2010, $c000, $0002, $4009, $0000,
$0000, $4008, $0000, $0000, $8004, $0000, $000e, $8005,
$c000, $0000, $8004, $0000, $0000, $8004, $0000, $3f1c,
$7878, $70f0, $00e3, $8787, $8f0c, $fe18, $0000, $0000,
$01e7, $3870, $3c60, $0000, $0787, $c39f, $fe1c, $0000,
$0000, $01e3, $9ce0, $e1e0, $0000, $030f, $1e1f, $0f07,
$e000, $70c0, $30f8, $0ccf, $8f3c, $0000, $0300, $0000);
SUNRISE: BITBLK = (bi_pdata: @_IMG_SUNRISE;
bi_wb: 6; bi_hl: 24; bi_x: 0; bi_y: 0; bi_color: 1);
{ OBJECT TREES }
ABOUT_ME : Array [0 .. 7] of ACSOBJECT = ( (aes: (ob_next: -1; ob_head: 1; ob_tail: 6; ob_type: 20; ob_flags: $0000; ob_state: $0010;ob_spec: (index: $00021100);ob_x: 0; ob_y: 0; ob_width: 28; ob_height: 10)),
(aes: (ob_next: 2; ob_head: -1; ob_tail: -1; ob_type: 22; ob_flags: $2040; ob_state: $0010;ob_spec: (free_string: @TEDINFO_01);ob_x: 2; ob_y: 1; ob_width: 24; ob_height: 1)),
(aes: (ob_next: 3; ob_head: -1; ob_tail: -1; ob_type: 23; ob_flags: $0000; ob_state: $0000;ob_spec: (free_string: @SUNRISE);ob_x: 2; ob_y: 4; ob_width: 6; ob_height: 2)),
(aes: (ob_next: 4; ob_head: -1; ob_tail: -1; ob_type: 28; ob_flags: $0000; ob_state: $0000;ob_spec: (free_string: @TEXT_244);ob_x: 12; ob_y: 5; ob_width: 5; ob_height: 1)),
(aes: (ob_next: 5; ob_head: -1; ob_tail: -1; ob_type: 28; ob_flags: $0000; ob_state: $0000;ob_spec: (free_string: @TEXT_222);ob_x: 7; ob_y: 6; ob_width: 14; ob_height: 1)),
(aes: (ob_next: 6; ob_head: -1; ob_tail: -1; ob_type: 28; ob_flags: $0000; ob_state: $0000;ob_spec: (free_string: @TEXT_01);ob_x: 4; ob_y: 3; ob_width: 20; ob_height: 1)),
(aes: (ob_next: 0; ob_head: -1; ob_tail: -1; ob_type: 24; ob_flags: $0007; ob_state: $0010;ob_spec: (free_string: @A_3DBUTTON01);ob_x: 11; ob_y: 8; ob_width: 6; ob_height: 1)),
(acs :(ob_flags: $8020; key: $8818;userp1: NIL;userp2: NIL;mo_index: 0; aob_type: 0))
);
WORLD : Array [0 .. 4] of ACSOBJECT = ( (aes: (ob_next: -1; ob_head: 1; ob_tail: 4; ob_type: 20; ob_flags: $0000; ob_state: $0000;ob_spec: (index: $00001100);ob_x: 0; ob_y: 0; ob_width: 25; ob_height: 7)),
(aes: (ob_next: 2; ob_head: -1; ob_tail: -1; ob_type: 28; ob_flags: $0000; ob_state: $0000;ob_spec: (free_string: @TEXT_005);ob_x: 5; ob_y: 1; ob_width: 6; ob_height: 1)),
(aes: (ob_next: 4; ob_head: -1; ob_tail: -1; ob_type: 26; ob_flags: $0005; ob_state: $0000;ob_spec: (free_string: @TEXT_006);ob_x: 8; ob_y: 3; ob_width: 8; ob_height: 2)),
(acs :(click: call_ok; ob_flags: $8000; key: $000b;userp1: NIL;userp2: NIL;mo_index: 0; aob_type: 0)),
(aes: (ob_next: 0; ob_head: -1; ob_tail: -1; ob_type: 28; ob_flags: $0020; ob_state: $0000;ob_spec: (free_string: @TEXT_001);ob_x: 17; ob_y: 5; ob_width: 5; ob_height: 1))
);
{ WINDOWS }
HELLO: Awindow = ( user: NIL;
service: Awi_service;
create: hello_make;
open: Awi_open;
init: Awi_init;
work: @WORLD;
ob_edit: -1; ob_col: -1; wi_id: -1;
wi_kind: $000b; wi_act: (x: 0; y: 0; w: 34; h: 14);
wi_slider: (x: -1; y: -1; w: -1; h: -1);
snap_mask: $fff0;
name: @TEXT_002; info: @TEXT_003;
wi_type: $2710; kind: $0003; icon : -1;
iconblk: NIL;
menu: NIL;
keys: Awi_keys;
obchange: Awi_obchange;
redraw: Awi_redraw;
topped: Awi_topped;
closed: Awi_closed;
fulled: Awi_fulled;
arrowed: Awi_arrowed;
hslid: Awi_hslid;
vslid: Awi_vslid;
sized: Awi_sized;
moved: Awi_moved);
ACSdescr: Adescr = (
magic: 'ACS 2.0'#0; version: 200; dx: -4; dy: -4; flags: $0013;
acc_reg: ' HELLO WORLD'#0' ';
root: NIL; acc: NIL; mouse: (
(number: 0; form: NIL),
(number: 2; form: NIL),
(number: 3; form: NIL),
(number: 4; form: NIL),
(number: 1; form: NIL),
(number: 5; form: NIL),
(number: 6; form: NIL),
(number: 7; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL),
(number: 0; form: NIL)) );
implementation
{ Pascal Routines }
{ 'call_ok' Not defined yet by user }
{ 'hello_make' Not defined yet by user }