/* Generated with C2C (Cedar To C)*/
/* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */
/* time: August 23, 1993 10:38:51 am PDT */
/* C2C version: April 20, 1993 (sun4) */
/* ref-counting: off */
/* file: GGInXImpl, module: GGInXImpl */
/* switches: bcfhklnouw */
#include <cedar/InstallationSupport.h>
#include <cedar/CedarExtra.h>
static char versionStamp[] = "@(#)mob←version [1091813740,3018646062] GGInXImpl";
typedef unsigned word, *ptr;
typedef unsigned char byte, *bPt;
typedef unsigned short half, *hPt;
typedef word (*fPt)();
typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8;
typedef struct {word f0, f1;} W2;
typedef struct {word f0, f1, f2;} W3;
typedef struct {word f0, f1, f2, f3;} W4;
typedef W2 *W2Pt;
typedef struct {W8 f; W8 r;} W16;
typedef struct {W16 f; W3 r;} W19;
typedef struct {W8 f; word r;} W9;
typedef W9 *W9Pt;
typedef W4 *W4Pt;
typedef struct {W16 f; W4 r;} W20;
typedef struct {word f0, f1, f2, f3, f4;} W5;
typedef W5 *W5Pt;
typedef struct {W8 f; W2 r;} W10;
#define SOURCE(p, l) /* source p, l */
static float fc60 = 0.0;
static float fc61 = 200.0;
static float fc62 = 100.0;
static float fc66 = 1.0;
static float fc69 = 50.0;
static void NoName←Q900();
static void GGInXImpl←P0();
static void Slope0←P60();
static void Slope90←P120();
static void Paint←P180();
static void DoPaint←P480();
static void XInputNotify←P240();
static void WindowEventNotify←P300();
static void XGargoyleCommand←P360();
static void XPaint←P420();
static void DoPaint←P732();
static struct {unsigned f; char r[16];} string1 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"};
static struct {unsigned f; char r[4];} string2 = {65537, "\001\000\000"};
static struct {unsigned f; char r[20];} string3 = {1179668, "\260\006\005\146\151\162\163\164\217\005\004\162\145\163\164\214\217\261\000"};
static struct {unsigned f; char r[4];} string4 = {131074, "\004\003\000"};
static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\101\023\301\154\300\263\354\342\056\100\200\000\000"};
static struct {unsigned f; char r[4];} string6 = {131076, "\216\251\000"};
static struct {unsigned f; char r[48];} string7 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\033\115\307\000\300\214\060\055\310\100\244\005\004\162\145\163\164\214\216\257\300\033\115\307\000\300\214\060\055\310\100\244\261\000\000\000"};
static struct {unsigned f; char r[4];} string8 = {65540, "\251\000\000"};
static struct {unsigned f; char r[44];} string9 = {2752556, "\260\006\005\146\151\162\163\164\257\300\015\277\004\146\300\034\367\146\045\112\114\005\004\162\145\163\164\214\257\300\015\277\004\146\300\034\367\146\045\112\114\261\000"};
static struct {unsigned f; char r[28];} string10 = {1572888, "\006\002\000\007\000\040\016\000\003\001\000\000\000\000\014\014\000\014\014\014\014\000\010\001\000\000\000"};
static struct {unsigned f; char r[16];} string11 = {983056, "Slope90 pressed"};
static struct {unsigned f; char r[16];} string12 = {851984, "Paint pressed\000\000"};
static struct {unsigned f; char r[20];} string13 = {1048596, "PaintEntireScene\000\000\000"};
static struct {unsigned f; char r[16];} string14 = {983056, "NIL TIP results"};
static struct {unsigned f; char r[16];} string15 = {917520, "Slope0 pressed\000"};
static struct {unsigned f; char r[12];} string16 = {524300, "Feedback\000\000\000"};
static struct {unsigned f; char r[16];} string17 = {983056, "TIP results: %g"};
static struct {unsigned f; char r[28];} string18 = {1572892, "TIP results: not an atom\000\000\000"};
static struct {unsigned f; char r[20];} string19 = {1048596, "Not a TIP result\000\000\000"};
static struct {unsigned f; char r[8];} string20 = {458760, "Slope 0"};
static struct {unsigned f; char r[12];} string21 = {524300, "Slope 90\000\000\000"};
static struct {unsigned f; char r[8];} string22 = {327688, "Paint\000\000"};
static struct {unsigned f; char r[12];} string23 = {524300, "Gargoyle\000\000\000"};
static struct {unsigned f; char r[32];} string24 = {1835040, "/Cedar/Gargoyle/Gargoyle.tip\000\000\000"};
static struct {unsigned f; char r[52];} string25 = {3342388, "/net/brazil/brazil-12/gargoyle10/figs/Worm.gargoyle"};
static struct {unsigned f; char r[28];} string26 = {1769500, "Creates a Gargoyle X window"};
static struct {unsigned f; char r[4];} string27 = {196612, "Get"};
static struct {unsigned f; char r[12];} string28 = {720908, "Painting..."};
static struct {unsigned f; char r[16];} string29 = {917520, "PaintAllPlanes\000"};
static struct {unsigned f; char r[12];} string30 = {589836, "XGargoyle\000\000"};
static struct {unsigned f; char r[16];} string31 = {851984, "\257\300\101\023\301\154\300\263\354\342\056\100\164\000\000"};
static struct {unsigned f; char r[12];} string32 = {524296, "\006\001\074\010\000\004\024\001\000\000\000"};
static struct {unsigned f; char r[16];} string33 = {851984, "\257\300\206\055\004\241\300\261\334\001\116\100\150\000\000"};
static struct {unsigned f; char r[16];} string34 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\150\000\000"};
static struct {unsigned f; char r[16];} string35 = {851984, "\257\300\103\154\257\030\300\165\276\076\350\100\150\000\000"};
static struct {unsigned f; char r[16];} string36 = {851984, "\257\300\265\217\206\011\300\172\271\371\033\100\150\000\000"};
static struct {unsigned f; char r[16];} string37 = {851984, "\257\300\207\142\037\125\300\254\056\012\025\100\150\000\000"};
static struct {unsigned f; char r[16];} string38 = {851984, "\257\300\347\101\365\007\300\150\102\366\020\100\150\000\000"};
static struct {unsigned f; char r[16];} string39 = {851984, "\257\300\355\324\264\170\300\276\334\312\210\100\150\000\000"};
static struct {unsigned f; char r[16];} string40 = {851984, "\257\300\356\024\243\250\300\175\157\203\227\100\150\000\000"};
static struct {unsigned f; char r[16];} string41 = {851984, "\257\300\003\112\366\226\300\006\215\072\035\100\150\000\000"};
static struct {unsigned f; char r[16];} string42 = {851984, "\257\300\074\177\166\242\300\203\113\217\044\100\150\000\000"};
static struct {unsigned f; char r[16];} string43 = {851984, "\257\300ZT?\010\300\370;=;@h\000\000"};
static struct {unsigned f; char r[16];} string44 = {851984, "\257\300\353\035\365\325\300\132\075\117\337\100\150\000\000"};
static struct {unsigned f; char r[16];} string45 = {851984, "\257\300\026\052\121\143\300\234\275\317\206\100\150\000\000"};
static struct {unsigned f; char r[16];} string46 = {851984, "\257\300\114\360\325\157\300\264\322\230\211\100\150\000\000"};
static struct {unsigned f; char r[16];} string47 = {851984, "\257\300\240\071\111\112\300\044\350\266\373\100\150\000\000"};
static struct {unsigned f; char r[16];} string48 = {851984, "\257\300\145\202\371\143\300\336\312\353\353\100\150\000\000"};
static struct {unsigned f; char r[16];} string49 = {851984, "\257\300\223\145\303\043\300\372\023\025\003\100\150\000\000"};
static struct {unsigned f; char r[28];} string50 = {1769500, "\211\017\016\122\145\146\162\145\163\150\104\141\164\141\117\142\152\300\223\145\303\043\300\372\023\025\003"};
static struct {unsigned f; char r[16];} string51 = {851984, "\257\300\026\355\016\312\300\171\207\041\370\100\200\000\000"};
static struct {unsigned f; char r[44];} string52 = {2752554, "\006\020\000\001\014\001\020\001\024\001\030\001\034\001\070\001\074\001\100\100\001\100\104\001\100\110\001\100\114\001\100\120\001\100\124\001\100\130\001\100\144\001\000"};
static struct {
word f0[35]; word f35; word f36; word f37;
word f38; word f39; word f40; word f41;
word f42; word f43; word f44; word f45;
word f46; word f47; word f48; word f49;
word f50[2]; word f52; word f53; word f54;
word f55; word f56; word f57; word f58[2];
word f60; word f61; word f62[3]; word f65;
word f66; word f67; word f68; word f69;
word f70; word f71[3]; word f74; word f75;
word f76; word f77; word f78; word f79;
word f80[3]; word f83; word f84; word f85;
word f86; word f87; word f88; word f89[2];
word f91; word f92; word f93; word f94;
word f95; word f96[17];
} globalframe = {
{0}, (word) XPaint←P420, 0, (word) XGargoyleCommand←P360,
0, (word) WindowEventNotify←P300, 0, (word) XInputNotify←P240,
0, (word) Paint←P180, 0, (word) Slope90←P120,
0, (word) Slope0←P60, 0, (word) GGInXImpl←P0,
{0}, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 3, {0},
(word) 4294967295, (word) 4294967295, {0}, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 3, {0}, (word) 2147483648, (word) 2147483648,
(word) 350, (word) 200, (word) 2147483648, (word) 3,
{0}, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 3, {0},
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 2147483648, {0}
};
static void NoName←Q900()
{
register ptr gf←c0120 = (ptr) &globalframe;
word var←c36528;
(* (( (ptr) gf←c0120)+6) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2);
(* (( (ptr) gf←c0120)+8) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4);
(* (( (ptr) gf←c0120)+9) ) = (word) XR←GetTypeIndex((word) &string5, 0, (word) &string4);
(* (( (ptr) gf←c0120)+10) ) = (word) XR←GetTypeIndex((word) &string6, 0, (word) &string2);
(* (( (ptr) gf←c0120)+11) ) = (word) XR←GetTypeIndex((word) &string7, 0, (word) &string4);
(* (( (ptr) gf←c0120)+12) ) = (word) XR←GetTypeIndexS((word) (&string8));
(* (( (ptr) gf←c0120)+14) ) = (word) XR←GetTypeIndex((word) &string9, 0, (word) &string10);
(* (ptr) (( (bPt) gf←c0120)+60) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string11);
(* (ptr) (( (bPt) gf←c0120)+64) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string12);
(* (ptr) (( (bPt) gf←c0120)+68) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+10) ), (word) &string13);
(* (ptr) (( (bPt) gf←c0120)+72) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string14);
(* (ptr) (( (bPt) gf←c0120)+76) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string15);
(* (ptr) (( (bPt) gf←c0120)+80) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+10) ), (word) &string16);
(* (ptr) (( (bPt) gf←c0120)+84) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string17);
(* (ptr) (( (bPt) gf←c0120)+88) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string18);
(* (ptr) (( (bPt) gf←c0120)+92) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string19);
(* (ptr) (( (bPt) gf←c0120)+96) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string20);
(* (ptr) (( (bPt) gf←c0120)+100) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string21);
(* (ptr) (( (bPt) gf←c0120)+104) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string22);
(* (ptr) (( (bPt) gf←c0120)+108) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+10) ), (word) &string23);
(* (ptr) (( (bPt) gf←c0120)+112) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string24);
(* (ptr) (( (bPt) gf←c0120)+116) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string25);
(* (ptr) (( (bPt) gf←c0120)+120) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string26);
(* (ptr) (( (bPt) gf←c0120)+124) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+10) ), (word) &string27);
(* (ptr) (( (bPt) gf←c0120)+128) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string28);
(* (ptr) (( (bPt) gf←c0120)+132) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+10) ), (word) &string29);
(* (ptr) (( (bPt) gf←c0120)+136) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0120)+6) ), (word) &string30);
(void) XR←DeclareGlobalFrame((word) "GGInXImpl", &globalframe, (word) XR←GetTypeIndex((word) &string31, 0, (word) &string32)
, (word) (( (bPt) gf←c0120)+196)/* var←c34672 */ );
var←c36528 = (word) XR←ImportInterface((word) "GGState", (word) XR←GetTypeIndexS((word) (&string33)), 119);
(* (( (ptr) gf←c0120)+98)/* var←c35184 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 134481921);
var←c36528 = (word) XR←ImportInterface((word) "Commander", (word) XR←GetTypeIndexS((word) (&string34)), 3);
(* (( (ptr) gf←c0120)+96)/* var←c35088 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 1310725);
var←c36528 = (word) XR←ImportInterface((word) "FileNames", (word) XR←GetTypeIndexS((word) (&string35)), 17);
(* (( (ptr) gf←c0120)+105)/* var←c35728 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 67109632);
var←c36528 = (word) XR←ImportInterface((word) "GGBoundBox", (word) XR←GetTypeIndexS((word) (&string36)), 24);
(* (( (ptr) gf←c0120)+100)/* var←c35280 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 68681990);
var←c36528 = (word) XR←ImportInterface((word) "GGRefresh", (word) XR←GetTypeIndexS((word) (&string37)), 30);
(* (( (ptr) gf←c0120)+101)/* var←c35312 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 789507);
(void) XR←ImportProcS(var←c36528, 1574150);
var←c36528 = (word) XR←ImportInterface((word) "GGScene", (word) XR←GetTypeIndexS((word) (&string38)), 50);
(* (( (ptr) gf←c0120)+104)/* var←c35696 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 67371009);
var←c36528 = (word) XR←ImportInterface((word) "GGUserInput", (word) XR←GetTypeIndexS((word) (&string39)), 13);
(* (( (ptr) gf←c0120)+103)/* var←c35664 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 524802);
var←c36528 = (word) XR←ImportInterface((word) "GGWindow", (word) XR←GetTypeIndexS((word) (&string40)), 12);
(* (( (ptr) gf←c0120)+106)/* var←c35760 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 67634690);
var←c36528 = (word) XR←ImportInterface((word) "GGWindowExtras", (word) XR←GetTypeIndexS((word) (&string41)), 1);
(* (( (ptr) gf←c0120)+111)/* var←c36336 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 524290);
var←c36528 = (word) XR←ImportInterface((word) "Imager", (word) XR←GetTypeIndexS((word) (&string42)), 84);
(* (( (ptr) gf←c0120)+99)/* var←c35248 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 1326338);
(void) XR←ImportProcS(var←c36528, 536578);
(void) XR←ImportProcS(var←c36528, 526850);
(void) XR←ImportProcS(var←c36528, 526594);
var←c36528 = (word) XR←ImportInterface((word) "ImagerColor", (word) XR←GetTypeIndexS((word) (&string43)), 32);
(* (( (ptr) gf←c0120)+102)/* var←c35408 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 67898625);
var←c36528 = (word) XR←ImportInterface((word) "SimpleFeedback", (word) XR←GetTypeIndexS((word) (&string44)), 7);
(* (( (ptr) gf←c0120)+97)/* var←c35120 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 1310981);
(void) XR←ImportProcS(var←c36528, 1048580);
var←c36528 = (word) XR←ImportInterface((word) "TIPUser", (word) XR←GetTypeIndexS((word) (&string45)), 4);
(* (( (ptr) gf←c0120)+109)/* var←c36176 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 67371009);
var←c36528 = (word) XR←ImportInterface((word) "XTkBitmapWidgets", (word) XR←GetTypeIndexS((word) (&string46)), 8);
(* (( (ptr) gf←c0120)+108)/* var←c36016 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 67634434);
(void) XR←ImportProcS(var←c36528, 1574404);
(void) XR←ImportProcS(var←c36528, 69992451);
var←c36528 = (word) XR←ImportInterface((word) "XTkTIP", (word) XR←GetTypeIndexS((word) (&string47)), 8);
(* (( (ptr) gf←c0120)+110)/* var←c36240 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 2884362);
var←c36528 = (word) XR←ImportInterface((word) "XTkWidgets", (word) XR←GetTypeIndexS((word) (&string48)), 52);
(* (( (ptr) gf←c0120)+107)/* var←c35792 */ ) = var←c36528;
(void) XR←ImportProcS(var←c36528, 2099460);
(void) XR←ImportProcS(var←c36528, 72352268);
(void) XR←ImportProcS(var←c36528, 67382273);
(void) XR←ImportProcS(var←c36528, 69998595);
(void) XR←ImportProcS(var←c36528, 67382529);
(void) XR←ImportProcS(var←c36528, 69998851);
(void) XR←ImportProcS(var←c36528, 72097800);
(void) XR←ImportProcS(var←c36528, 67383809);
var←c36528 = (word) XR←ExportInterface((word) "GGInterfaceTypes", (word) XR←GetTypeIndexS((word) (&string49)), 6);
(* (( (ptr) gf←c0120)+112)/* var←c36560 */ ) = var←c36528;
(void) XR←ExportType((word) "RefreshDataObj", (word) XR←GetTypeIndexS((word) (&string50)), (word) XR←GetTypeIndex((word) &string51, 0, (word) &string52)
);
}
static void GGInXImpl←P0(formal←c036, formal←c035)
word formal←c036;
word formal←c035;
{
register ptr gf←c36592 = (ptr) &globalframe;
/* GGInXImpl: */
SOURCE(296, 4794)
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
SOURCE(5010, 80)
{
word pd53;
pd53 = (* (( (ptr) (* (( (ptr) gf←c36592)+96)/* var←c35088 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd53 ))))((* (( (ptr) gf←c36592)+34) ), (word) (( (bPt) gf←c36592)+148)/* var←c34480 */ , (* (
( (ptr) gf←c36592)+30) ), 0, 1, pd53);
};
}
static void Slope0←P60(widget←v9812, registerData←v9840, callData←v9868, event←v9896)
word widget←v9812;
word registerData←v9840;
word callData←v9868;
word event←v9896;
{
register ptr gf←c36624 = (ptr) &globalframe;
word i←v4196;
/* Slope0: */
SOURCE(987, 140)
SOURCE(1020, 34)
i←v4196 = XR←Narrow(registerData←v9840, (* (( (ptr) gf←c36624)+9) ));
SOURCE(1056, 71)
{
word pd54;
pd54 = (* (( (ptr) (* (( (ptr) gf←c36624)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd54 ))))((* (( (ptr) gf←c36624)+27) ), 0, (* (( (ptr) gf←c36624)+20) ), (* (( (ptr) gf←c36624)+19)
), pd54);
};
}
static void Slope90←P120(widget←v9956, registerData←v9984, callData←v10012, event←v10040)
word widget←v9956;
word registerData←v9984;
word callData←v10012;
word event←v10040;
{
register ptr gf←c36656 = (ptr) &globalframe;
word i←v4240;
/* Slope90: */
SOURCE(1133, 142)
SOURCE(1167, 34)
i←v4240 = XR←Narrow(registerData←v9984, (* (( (ptr) gf←c36656)+9) ));
SOURCE(1203, 72)
{
word pd55;
pd55 = (* (( (ptr) (* (( (ptr) gf←c36656)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd55 ))))((* (( (ptr) gf←c36656)+27) ), 0, (* (( (ptr) gf←c36656)+20) ), (* (( (ptr) gf←c36656)+15)
), pd55);
};
}
static void Paint←P180(widget←v10100, registerData←v10128, callData←v10156, event←v10184)
word widget←v10100;
word registerData←v10128;
word callData←v10156;
word event←v10184;
{
W8 var←c36688;
register ptr gf←c36720 = (ptr) &globalframe;
/* declaration of var←c35152 skipped */
/* declaration of i←v4284 skipped */
/* declaration of clientFrame←v4312 skipped */
word frameClient←v4340 = 0;
/* Paint: */
SOURCE(1281, 637)
{
word tmpAddr56;
tmpAddr56 = (word) (( (ptr) &var←c36688)+4)/* var←c35152 */ ;
(* (ptr) tmpAddr56 ) = ( ((word) (fPt) DoPaint←P480) );
(* (( (ptr) tmpAddr56) + 1) ) = 1;
};
SOURCE(1313, 34)
var←c36688.f6/* i←v4284 */ = XR←Narrow(registerData←v10128, (* (( (ptr) gf←c36720)+9) ));
SOURCE(1349, 40)
var←c36688.f7/* clientFrame←v4312 */ = 0;
SOURCE(1809, 71)
{
W2 var←c35216;
{
word pd57;
pd57 = (* (( (ptr) (* (( (ptr) gf←c36720)+98)/* var←c35184 */ ))+12) );
(void) ( *( (fPt) ((* (ptr) pd57 ))))((word) &var←c35216, (* (ptr) var←c36688.f6/* i←v4284 */ ), pd57);
};
frameClient←v4340 = var←c35216.f1;
var←c36688.f7/* clientFrame←v4312 */ = var←c35216.f0;
};
SOURCE(1882, 36)
{
word pd58;
pd58 = (* (( (ptr) (* (( (ptr) gf←c36720)+99)/* var←c35248 */ ))+13) );
(void) ( *( (fPt) ((* (ptr) pd58 ))))((* (( (ptr) var←c36688.f6/* i←v4284 */ )+1) ), (word) (( (bPt) &var←c36688)+16)/* var←c35152 */ , pd58)
;
};
}
static void DoPaint←P480(formal←c36784)
word formal←c36784;
{
register ptr gf←c36752 = (ptr) &globalframe;
word bounds←v4428;
formal←c36784 = (formal←c36784 - 16);
/* DoPaint: */
SOURCE(1391, 413)
SOURCE(1409, 57)
{
word pd59;
pd59 = (* (( (ptr) (* (( (ptr) gf←c36752)+100)/* var←c35280 */ ))+5) );
bounds←v4428 = (word) ( *( (fPt) ((* (ptr) pd59 ))))((* (ptr) &fc60 ), (* (ptr) &fc60 ), (* (ptr) &fc61 ), (* (ptr) &fc62 ), 0, 0, pd59)
;
};
SOURCE(1468, 70)
{
word pd63;
pd63 = (* (( (ptr) (* (( (ptr) gf←c36752)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd63 ))))((* (( (ptr) gf←c36752)+27) ), 0, (* (( (ptr) gf←c36752)+20) ), (* (( (ptr) gf←c36752)+16)
), pd63);
};
SOURCE(1540, 38)
{
word pd64;
pd64 = (* (( (ptr) (* (( (ptr) gf←c36752)+99)/* var←c35248 */ ))+14) );
(void) ( *( (fPt) ((* (ptr) pd64 ))))((* (( (ptr) (* (( (ptr) formal←c36784)+6) ))+1) ), (* (( (ptr) formal←c36784)+7) ), pd64)
;
};
SOURCE(1611, 83)
{
word pd65;
pd65 = (* (( (ptr) (* (( (ptr) gf←c36752)+101)/* var←c35312 */ ))+9) );
(void) ( *( (fPt) ((* (ptr) pd65 ))))((* (( (ptr) (* (( (ptr) formal←c36784)+6) ))+1) ), (* (ptr) (* (( (ptr) formal←c36784)+6)
) ), (* (( (ptr) gf←c36752)+17) ), bounds←v4428, 0, 0, pd65);
};
SOURCE(1696, 61)
{
word var←c35344;
{
W3 var←c35376;
var←c35376.f0 = (* (ptr) &fc66 );
var←c35376.f1 = (* (ptr) &fc60 );
var←c35376.f2 = (* (ptr) &fc60 );
{
word pd67;
pd67 = (* (( (ptr) (* (( (ptr) gf←c36752)+102)/* var←c35408 */ ))+17) );
var←c35344 = (word) ( *( (fPt) ((* (ptr) pd67 ))))(var←c35376, pd67);
};
};
{
word pd68;
pd68 = (* (( (ptr) (* (( (ptr) gf←c36752)+99)/* var←c35248 */ ))+52) );
(void) ( *( (fPt) ((* (ptr) pd68 ))))((* (( (ptr) (* (( (ptr) formal←c36784)+6) ))+1) ), var←c35344, pd68);
};
};
SOURCE(1759, 45)
{
W4 var←c35440;
var←c35440.f0 = (* (ptr) &fc60 );
var←c35440.f1 = (* (ptr) &fc60 );
var←c35440.f2 = (* (ptr) &fc62 );
var←c35440.f3 = (* (ptr) &fc69 );
{
word pd70;
pd70 = (* (( (ptr) (* (( (ptr) gf←c36752)+99)/* var←c35248 */ ))+65) );
(void) ( *( (fPt) ((* (ptr) pd70 ))))((* (( (ptr) (* (( (ptr) formal←c36784)+6) ))+1) ), var←c35440, pd70);
};
};
}
static void XInputNotify←P240(event←v10244, clientData←v10272, tq←v10300)
word event←v10244;
word clientData←v10272;
word tq←v10300;
{
register ptr gf←c36816 = (ptr) &globalframe;
word i←v4472;
/* XInputNotify: */
SOURCE(1924, 619)
SOURCE(1959, 32)
i←v4472 = XR←Narrow(clientData←v10272, (* (( (ptr) gf←c36816)+9) ));
SOURCE(1993, 550)
{
word var←c35472;
var←c35472 = event←v10244;
if ((var←c35472 == 0)) {
goto lab←L100000;
};
if (((* (( (ptr) var←c35472)+4) ) == 37)) {
{
word input←v4516;
input←v4516 = var←c35472;
SOURCE(2059, 395)
if (((* (( (ptr) input←v4516)+6) ) == 0)) {
SOURCE(2087, 78)
{
word pd71;
pd71 = (* (( (ptr) (* (( (ptr) gf←c36816)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd71 ))))((* (( (ptr) gf←c36816)+27) ), 0, (* (( (ptr) gf←c36816)+20) ), (* (( (ptr) gf←c36816)+18)
), pd71);
};
}
else {
SOURCE(2165, 289)
{
word var←c35504;
var←c35504 = (* (ptr) (* (( (ptr) input←v4516)+6) ) );
if ((var←c35504 == 0)) {
goto lab←L100001;
};
if (((* (( (ptr) gf←c36816)+12) ) == XR←GetReferentType(var←c35504))) {
{
word a←v4572;
a←v4572 = var←c35504;
SOURCE(2215, 82)
{
W2 v1←v34400;
v1←v34400.f0 = 1;
v1←v34400.f1 = a←v4572;
{
/*1*/ word var←c35568;
/*1*/ {
/*1*/ word var←c35600;
/*1*/ word var←c35632;
/*1*/ var←c35600 = XR←NewObject(12, (* (( (ptr) gf←c36816)+14) ));
/*1*/ var←c35632 = var←c35600;
/*1*/ (* (W2Pt) var←c35632 ) = v1←v34400;
/*1*/ var←c35568 = var←c35600;
/*1*/ };
/*1*/ {
/*1*/ word pd72;
/*1*/ pd72 = (* (( (ptr) (* (( (ptr) gf←c36816)+97)/* var←c35120 */ ))+5) );
/*1*/ (void) ( *( (fPt) ((* (ptr) pd72 ))))((* (( (ptr) gf←c36816)+27) ), 0, (* (( (ptr) gf←c36816)+20) ), (* (( (ptr) gf←c36816)+21)
/*1*/ ), var←c35568, pd72);
/*1*/ };
/*1*/ };
};
SOURCE(2299, 58)
{
word pd73;
pd73 = (* (( (ptr) (* (( (ptr) gf←c36816)+103)/* var←c35664 */ ))+6) );
(void) ( *( (fPt) ((* (ptr) pd73 ))))((* (ptr) i←v4472 ), (* (( (ptr) input←v4516)+6) ), pd73);
};
};
}
else {
lab←L100001: ;
SOURCE(2373, 81)
{
word pd74;
pd74 = (* (( (ptr) (* (( (ptr) gf←c36816)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd74 ))))((* (( (ptr) gf←c36816)+27) ), 0, (* (( (ptr) gf←c36816)+20) ), (* (( (ptr) gf←c36816)+22)
), pd74);
};
};
};
};
};
}
else {
lab←L100000: ;
SOURCE(2470, 73)
{
word pd75;
pd75 = (* (( (ptr) (* (( (ptr) gf←c36816)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd75 ))))((* (( (ptr) gf←c36816)+27) ), 0, (* (( (ptr) gf←c36816)+20) ), (* (( (ptr) gf←c36816)+23)
), pd75);
};
};
};
}
static void WindowEventNotify←P300(widget←v10360, reason←v10388, data←v10416)
word widget←v10360;
word reason←v10388;
word data←v10416;
{
/* WindowEventNotify: */
}
static void XGargoyleCommand←P360(formal←c0108, cmd←v10476)
word formal←c0108;
word cmd←v10476;
{
register ptr gf←c36848 = (ptr) &globalframe;
word result←v10520;
word msg←v10548;
word scene←v4616;
word workingDirectory←v4644;
word ggData←v4672;
word widgetStream←v4700;
word i←v4728;
word slope0←v4756;
word slope90←v4784;
word paint←v4812;
word menus←v4840;
word action←v4868;
word container←v4896;
word shell←v4924;
/* XGargoyleCommand: */
SOURCE(2709, 1652)
SOURCE(2709, 1652)
result←v10520 = 0;
SOURCE(2709, 1652)
msg←v10548 = 0;
SOURCE(2753, 36)
{
word pd76;
pd76 = (* (( (ptr) (* (( (ptr) gf←c36848)+104)/* var←c35696 */ ))+4) );
scene←v4616 = (word) ( *( (fPt) ((* (ptr) pd76 ))))(0, pd76);
};
SOURCE(2791, 60)
{
word pd77;
pd77 = (* (( (ptr) (* (( (ptr) gf←c36848)+105)/* var←c35728 */ ))+7) );
workingDirectory←v4644 = (word) ( *( (fPt) ((* (ptr) pd77 ))))(pd77);
};
SOURCE(2853, 63)
{
word pd78;
pd78 = (* (( (ptr) (* (( (ptr) gf←c36848)+106)/* var←c35760 */ ))+10) );
ggData←v4672 = (word) ( *( (fPt) ((* (ptr) pd78 ))))(scene←v4616, workingDirectory←v4644, pd78);
};
SOURCE(2919, 51)
{
word pd79;
pd79 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+54) );
widgetStream←v4700 = (word) ( *( (fPt) ((* (ptr) pd79 ))))(0, pd79);
};
SOURCE(2972, 49)
i←v4728 = XR←NewObject(8, (* (( (ptr) gf←c36848)+9) ));
(* (ptr) i←v4728 ) = ggData←v4672;
SOURCE(3023, 91)
{
W19 var←c085;
(* (W9Pt) (word) &var←c085 ) = (* (W9Pt) (( (ptr) gf←c36848)+51)/* var←c34736 */ );
(* (( (ptr) (word) &var←c085) + 9) ) = (* (( (ptr) gf←c36848)+24) );
(* (W4Pt) (( (ptr) (word) &var←c085) + 10) ) = (* (W4Pt) (( (ptr) gf←c36848)+60)/* var←c34800 */ );
(* (( (ptr) (word) &var←c085) + 14) ) = (word) (( (bPt) gf←c36848)+188)/* var←c34640 */ ;
(* (( (ptr) (word) &var←c085) + 15) ) = i←v4728;
(* (( (ptr) (word) &var←c085) + 16) ) = 0;
(* (( (ptr) (word) &var←c085) + 17) ) = 0;
(* (( (ptr) (word) &var←c085) + 18) ) = 0;
{
word pd80;
pd80 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+36) );
slope0←v4756 = (word) ( *( (fPt) ((* (ptr) pd80 ))))((word) (&var←c085), pd80);
};
};
SOURCE(3116, 94)
{
W19 var←c087;
(* (W9Pt) (word) &var←c087 ) = (* (W9Pt) (( (ptr) gf←c36848)+51)/* var←c34736 */ );
(* (( (ptr) (word) &var←c087) + 9) ) = (* (( (ptr) gf←c36848)+25) );
(* (W4Pt) (( (ptr) (word) &var←c087) + 10) ) = (* (W4Pt) (( (ptr) gf←c36848)+60)/* var←c34800 */ );
(* (( (ptr) (word) &var←c087) + 14) ) = (word) (( (bPt) gf←c36848)+180)/* var←c34608 */ ;
(* (( (ptr) (word) &var←c087) + 15) ) = i←v4728;
(* (( (ptr) (word) &var←c087) + 16) ) = 0;
(* (( (ptr) (word) &var←c087) + 17) ) = 0;
(* (( (ptr) (word) &var←c087) + 18) ) = 0;
{
word pd81;
pd81 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+36) );
slope90←v4784 = (word) ( *( (fPt) ((* (ptr) pd81 ))))((word) (&var←c087), pd81);
};
};
SOURCE(3212, 87)
{
W19 var←c089;
(* (W9Pt) (word) &var←c089 ) = (* (W9Pt) (( (ptr) gf←c36848)+51)/* var←c34736 */ );
(* (( (ptr) (word) &var←c089) + 9) ) = (* (( (ptr) gf←c36848)+26) );
(* (W4Pt) (( (ptr) (word) &var←c089) + 10) ) = (* (W4Pt) (( (ptr) gf←c36848)+60)/* var←c34800 */ );
(* (( (ptr) (word) &var←c089) + 14) ) = (word) (( (bPt) gf←c36848)+172)/* var←c34576 */ ;
(* (( (ptr) (word) &var←c089) + 15) ) = i←v4728;
(* (( (ptr) (word) &var←c089) + 16) ) = 0;
(* (( (ptr) (word) &var←c089) + 17) ) = 0;
(* (( (ptr) (word) &var←c089) + 18) ) = 0;
{
word pd82;
pd82 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+36) );
paint←v4812 = (word) ( *( (fPt) ((* (ptr) pd82 ))))((word) (&var←c089), pd82);
};
};
SOURCE(3301, 116)
{
word var←c35856;
{
word var←c35888;
word var←c35920;
var←c35888 = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c35920 = var←c35888;
(* (ptr) var←c35920 ) = slope0←v4756;
(* (( (ptr) var←c35920)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c35920 = (* (( (ptr) var←c35920)+1) );
{
word pd83;
pd83 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+49) );
(* (ptr) var←c35920 ) = (word) ( *( (fPt) ((* (ptr) pd83 ))))(1, pd83);
};
(* (( (ptr) var←c35920)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c35920 = (* (( (ptr) var←c35920)+1) );
(* (ptr) var←c35920 ) = slope90←v4784;
(* (( (ptr) var←c35920)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c35920 = (* (( (ptr) var←c35920)+1) );
{
word pd84;
pd84 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+49) );
(* (ptr) var←c35920 ) = (word) ( *( (fPt) ((* (ptr) pd84 ))))(1, pd84);
};
(* (( (ptr) var←c35920)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c35920 = (* (( (ptr) var←c35920)+1) );
(* (ptr) var←c35920 ) = paint←v4812;
var←c35856 = var←c35888;
};
{
word pd85;
pd85 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+29) );
menus←v4840 = (word) ( *( (fPt) ((* (ptr) pd85 ))))((* (W9Pt) (( (ptr) gf←c36848)+64)/* var←c34864 */ ), var←c35856, (word) -1, pd85)
;
};
};
SOURCE(3419, 134)
{
word pd86;
pd86 = (* (( (ptr) (* (( (ptr) gf←c36848)+108)/* var←c36016 */ ))+4) );
action←v4868 = (word) ( *( (fPt) ((* (ptr) pd86 ))))((* (W9Pt) (( (ptr) gf←c36848)+73)/* var←c34928 */ ), (word) (( (bPt) gf←c36848)+156)
/* var←c34512 */ , 0, pd86);
};
SOURCE(3555, 91)
{
word var←c36048;
{
word var←c36080;
word var←c36112;
var←c36080 = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c36112 = var←c36080;
(* (ptr) var←c36112 ) = menus←v4840;
(* (( (ptr) var←c36112)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c36112 = (* (( (ptr) var←c36112)+1) );
{
word pd87;
pd87 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+48) );
(* (ptr) var←c36112 ) = (word) ( *( (fPt) ((* (ptr) pd87 ))))(1, pd87);
};
(* (( (ptr) var←c36112)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+11) ));
var←c36112 = (* (( (ptr) var←c36112)+1) );
(* (ptr) var←c36112 ) = action←v4868;
var←c36048 = var←c36080;
};
{
word pd88;
pd88 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+28) );
container←v4896 = (word) ( *( (fPt) ((* (ptr) pd88 ))))((* (W9Pt) (( (ptr) gf←c36848)+82)/* var←c34992 */ ), var←c36048, (word) -1, pd88)
;
};
};
SOURCE(3648, 83)
{
W20 var←c0100;
(* (W9Pt) (word) &var←c0100 ) = (* (W9Pt) (( (ptr) gf←c36848)+82)/* var←c34992 */ );
(* (( (ptr) (word) &var←c0100) + 9) ) = container←v4896;
(* (( (ptr) (word) &var←c0100) + 10) ) = (* (( (ptr) gf←c36848)+34) );
(* (( (ptr) (word) &var←c0100) + 11) ) = 0;
(* (( (ptr) (word) &var←c0100) + 12) ) = 0;
(* (( (ptr) (word) &var←c0100) + 13) ) = 0;
(* (( (ptr) (word) &var←c0100) + 14) ) = 0;
(* (( (ptr) (word) &var←c0100) + 15) ) = 0;
(* (( (ptr) (word) &var←c0100) + 16) ) = 0;
(* (( (ptr) (word) &var←c0100) + 17) ) = 1;
(* (( (ptr) (word) &var←c0100) + 18) ) = 1;
(* (( (ptr) (word) &var←c0100) + 19) ) = 1;
{
word pd89;
pd89 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+6) );
shell←v4924 = (word) ( *( (fPt) ((* (ptr) pd89 ))))((word) (&var←c0100), pd89);
};
};
SOURCE(3733, 203)
{
word table←v4968;
SOURCE(3739, 80)
{
word pd90;
pd90 = (* (( (ptr) (* (( (ptr) gf←c36848)+109)/* var←c36176 */ ))+4) );
table←v4968 = (word) ( *( (fPt) ((* (ptr) pd90 ))))((* ((( (ptr) gf←c36848)+28)) ), pd90);
};
SOURCE(3821, 113)
{
W2 var←c36208;
var←c36208.f0 = 0;
var←c36208.f1 = 0;
{
word pd91;
pd91 = (* (( (ptr) (* (( (ptr) gf←c36848)+110)/* var←c36240 */ ))+7) );
(void) ( *( (fPt) ((* (ptr) pd91 ))))(action←v4868, table←v4968, (word) (( (bPt) gf←c36848)+164)/* var←c34544 */ , i←v4728, 0, 0
, 0, 1, 200, var←c36208, pd91);
};
};
};
SOURCE(3942, 98)
{
W2 var←c36272;
W2 var←c36304;
var←c36272.f0 = 200;
var←c36272.f1 = 350;
var←c36304.f0 = 0;
var←c36304.f1 = 0;
{
word pd92;
pd92 = (* (( (ptr) (* (( (ptr) gf←c36848)+108)/* var←c36016 */ ))+10) );
(void) ( *( (fPt) ((* (ptr) pd92 ))))(action←v4868, var←c36272, 0, var←c36304, pd92);
};
};
SOURCE(4042, 50)
{
word pd93;
pd93 = (* (( (ptr) (* (( (ptr) gf←c36848)+108)/* var←c36016 */ ))+9) );
(* (( (ptr) i←v4728)+1) ) = (word) ( *( (fPt) ((* (ptr) pd93 ))))(action←v4868, 1, pd93);
};
SOURCE(4094, 30)
{
word pd94;
pd94 = (* (( (ptr) (* (( (ptr) gf←c36848)+107)/* var←c35792 */ ))+13) );
(void) ( *( (fPt) ((* (ptr) pd94 ))))(shell←v4924, (* (W5Pt) (( (ptr) gf←c36848)+91)/* var←c35056 */ ), 0, 1, pd94);
};
SOURCE(4126, 46)
{
word pd95;
pd95 = (* (( (ptr) (* (( (ptr) gf←c36848)+101)/* var←c35312 */ ))+16) );
(void) ( *( (fPt) ((* (ptr) pd95 ))))(ggData←v4672, (word) (( (bPt) gf←c36848)+140)/* var←c34448 */ , i←v4728, pd95);
};
SOURCE(4174, 42)
{
word pd96;
pd96 = (* (( (ptr) (* (( (ptr) gf←c36848)+111)/* var←c36336 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd96 ))))(ggData←v4672, 0, pd96);
};
SOURCE(4218, 145)
SOURCE(4296, 65)
{
word var←c36368;
{
word var←c36400;
word var←c36432;
var←c36400 = XR←NewObject(8, (* (( (ptr) gf←c36848)+8) ));
var←c36432 = var←c36400;
(* (ptr) var←c36432 ) = (* (( (ptr) gf←c36848)+31) );
(* (( (ptr) var←c36432)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c36848)+8) ));
var←c36432 = (* (( (ptr) var←c36432)+1) );
(* (ptr) var←c36432 ) = (* (( (ptr) gf←c36848)+29) );
var←c36368 = var←c36400;
};
{
word pd97;
pd97 = (* (( (ptr) (* (( (ptr) gf←c36848)+103)/* var←c35664 */ ))+6) );
(void) ( *( (fPt) ((* (ptr) pd97 ))))((* (ptr) i←v4728 ), var←c36368, pd97);
};
};
/* removed tail goto */
(* (ptr) formal←c0108 ) = result←v10520;
(* (( (ptr) formal←c0108)+1) ) = msg←v10548;
return;
}
static void XPaint←P420(formal←c0136, request←v10636, formal←c0137, clientData←v10692)
word formal←c0136;
word request←v10636;
word formal←c0137;
word clientData←v10692;
{
W10 var←c36880;
/* declaration of ggData←v10608 skipped */
/* declaration of bounds←v10664 skipped */
register ptr gf←c36912 = (ptr) &globalframe;
/* declaration of var←c36464 skipped */
/* declaration of i←v5056 skipped */
/* declaration of clientFrame←v5084 skipped */
word frameClient←v5112 = 0;
(* (( (ptr) &var←c36880)+4)/* ggData←v10608 */ ) = formal←c0136;
(* (( (ptr) &var←c36880)+5)/* bounds←v10664 */ ) = formal←c0137;
/* XPaint: */
SOURCE(4372, 632)
{
word tmpAddr98;
tmpAddr98 = (word) (( (ptr) &var←c36880)+6)/* var←c36464 */ ;
(* (ptr) tmpAddr98 ) = ( ((word) (fPt) DoPaint←P732) );
(* (( (ptr) tmpAddr98) + 1) ) = 1;
};
SOURCE(4404, 32)
(* (( (ptr) &var←c36880)+8)/* i←v5056 */ ) = XR←Narrow(clientData←v10692, (* (( (ptr) gf←c36912)+9) ));
SOURCE(4438, 40)
(* (( (ptr) &var←c36880)+9)/* clientFrame←v5084 */ ) = 0;
SOURCE(4897, 69)
{
W2 var←c36496;
{
word pd99;
pd99 = (* (( (ptr) (* (( (ptr) gf←c36912)+98)/* var←c35184 */ ))+12) );
(void) ( *( (fPt) ((* (ptr) pd99 ))))((word) &var←c36496, (* (( (ptr) &var←c36880)+4)/* ggData←v10608 */ ), pd99);
};
frameClient←v5112 = var←c36496.f1;
(* (( (ptr) &var←c36880)+9)/* clientFrame←v5084 */ ) = var←c36496.f0;
};
SOURCE(4968, 36)
{
word pd100;
pd100 = (* (( (ptr) (* (( (ptr) gf←c36912)+99)/* var←c35248 */ ))+13) );
(void) ( *( (fPt) ((* (ptr) pd100 ))))((* (( (ptr) (* (( (ptr) &var←c36880)+8)/* i←v5056 */ ))+1) ), (word) (( (bPt) &var←c36880)+24)
/* var←c36464 */ , pd100);
};
}
static void DoPaint←P732(formal←c36976)
word formal←c36976;
{
register ptr gf←c36944 = (ptr) &globalframe;
word whatHasChanged←v5200 = 0;
formal←c36976 = (formal←c36976 - 24);
/* DoPaint: */
SOURCE(4480, 412)
SOURCE(4520, 68)
{
word pd101;
pd101 = (* (( (ptr) (* (( (ptr) gf←c36944)+97)/* var←c35120 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd101 ))))((* (( (ptr) gf←c36944)+27) ), 0, (* (( (ptr) gf←c36944)+20) ), (* (( (ptr) gf←c36944)+32)
), pd101);
};
SOURCE(4590, 103)
if (((* (( (ptr) (* (( (ptr) (* (( (ptr) formal←c36976)+4) ))+17) ))+3) ) == 0)) {
whatHasChanged←v5200 = (* (( (ptr) gf←c36944)+33) );
}
else {
whatHasChanged←v5200 = (* (( (ptr) (* (( (ptr) (* (( (ptr) formal←c36976)+4) ))+17) ))+3) );
};
SOURCE(4695, 38)
{
word pd102;
pd102 = (* (( (ptr) (* (( (ptr) gf←c36944)+99)/* var←c35248 */ ))+14) );
(void) ( *( (fPt) ((* (ptr) pd102 ))))((* (( (ptr) (* (( (ptr) formal←c36976)+8) ))+1) ), (* (( (ptr) formal←c36976)+9) ), pd102)
;
};
SOURCE(4766, 80)
{
word pd103;
pd103 = (* (( (ptr) (* (( (ptr) gf←c36944)+101)/* var←c35312 */ ))+9) );
(void) ( *( (fPt) ((* (ptr) pd103 ))))((* (( (ptr) (* (( (ptr) formal←c36976)+8) ))+1) ), (* (ptr) (* (( (ptr) formal←c36976)+8)
) ), whatHasChanged←v5200, (* (( (ptr) formal←c36976)+5) ), 0, 0, pd103);
};
SOURCE(4848, 44)
(* (( (ptr) (* (( (ptr) (* (( (ptr) formal←c36976)+4) ))+17) ))+3) ) = (* (( (ptr) gf←c36944)+33) );
}
/* file: GGInXImpl, module: GGInXImpl, compiled at: August 23, 1993 10:38:50 am PDT */
extern void XR←install←GGInXImpl() {
NoName←Q900();
}
extern void XR←run←GGInXImpl() { XR←Start(&globalframe); }