/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */ /* time: May 11, 1993 11:51:27 am PDT */ /* C2C version: April 20, 1993 (sun4) */ /* ref-counting: off */ /* file: XTkContainersImpl, module: XTkContainersImpl */ /* switches: bcfhklnouw */ #include <cedar/InstallationSupport.h> #include <cedar/CedarExtra.h> static char versionStamp[] = "@(#)mob←version [474593305,34394280] XTkContainersImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {W8 f; W8 r;} W16; typedef struct {W8 f; word r;} W9; typedef struct {W16 f; W9 r;} W25; typedef word (*fPt)(); typedef struct {word f0, f1, f2, f3, f4, f5, f6;} W7; typedef struct {word f0, f1;} W2; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef struct {W16 f; W2 r;} W18; typedef W5 *W5Pt; typedef W2 *W2Pt; typedef struct {W16 f; word r;} W17; typedef struct {W8 f; W2 r;} W10; typedef struct {word f0, f1, f2;} W3; typedef W7 *W7Pt; #define SOURCE(p, l) /* source p, l */ #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR←RaiseBoundsFault()) : (idx) ) #define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) ) #define IOP2(op, x, y) ( (word) ((x) op (y)) ) #define MIN(cast, x, y) ( ( cast x) < ( cast y) ? (x) : (y) ) static void NoName←Q2940(); static void XTkContainersImpl←P0(); static word CreateContainer←P60(); static void RemoveChild←P120(); static void AppendChild←P180(); static void AppendChildren←P240(); static void SetForce←P300(); static word CreateXStack←P360(); static word CreateYStack←P420(); static word CreateAbut←P480(); static void DefineBorders←P540(); static word EachChild←P1500(); static word GetForce←P600(); static word AddPos←P660(); static void YPreferredSizeLR←P720(); static word EachChild←P1608(); static void XPreferredSizeLR←P780(); static word EachChild←P1668(); static void ContPreferredSizeLR←P840(); static word EachChild←P1728(); static void YConfigureLR←P900(); static void XConfigureLR←P960(); static void ContConfigureLR←P1020(); static void MyCount←P1080(); static word EachChild←P1788(); static void XCount←P1140(); static word EachChild←P1848(); static void YSizingLR←P1200(); static word FirstPassPerChild←P1908(); static void SetVaryingSize←P1260(); static word Varying←P1320(); static void XSizingLR←P1380(); static word FirstPassPerChild←P2256(); static void ContSizingLR←P1440(); static word EachChild←P2604(); static struct {unsigned f; char r[4];} string1 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string2 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\034\111\270\031\300\002\014\320\250\101\304\000\000"}; static struct {unsigned f; char r[12];} string4 = {524296, "\011\000\034\000\040\000\004\001\000\000\000"}; static struct {unsigned f; char r[4];} string5 = {65540, "\242\000\000"}; static struct {unsigned f; char r[16];} string6 = {851984, "\257\300\141\025\232\152\300\166\121\005\142\101\240\000\000"}; static struct {unsigned f; char r[4];} string7 = {131074, "\0048\000"}; static struct {unsigned f; char r[12];} string8 = {589836, "container\000\000"}; static struct {unsigned f; char r[8];} string9 = {393224, "xStack\000"}; static struct {unsigned f; char r[8];} string10 = {393224, "yStack\000"}; static struct {unsigned f; char r[16];} string11 = {851984, "\257\300\034\111\270\031\300\002\014\320\250\100\164\000\000"}; static struct {unsigned f; char r[16];} string12 = {786444, "\006\004\040\001\044\001\050\001\100\110\004\007\000\000\000"}; static struct {unsigned f; char r[16];} string13 = {851984, "\257\300\033\115\307\000\300\214\060\055\310\100\150\000\000"}; static struct {unsigned f; char r[16];} string14 = {851984, "\257\300\141\025\232\152\300\166\121\005\142\100\164\000\000"}; static struct {unsigned f; char r[16];} string15 = {851984, "\257\300\227\370\144\253\300\176\165\034\110\100\150\000\000"}; static struct {unsigned f; char r[16];} string16 = {851984, "\257\300\310\203\372\072\300\300\310\160\135\100\150\000\000"}; static struct { word f0[21]; word f21; word f22; word f23; word f24; word f25; word f26; word f27; word f28; word f29; word f30; word f31; word f32; word f33; word f34; 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; word f51; word f52; word f53; word f54; word f55; word f56; word f57; word f58; word f59; word f60; word f61; word f62; word f63; word f64; word f65; word f66; word f67; word f68; word f69; word f70[5]; } globalframe = { {0}, (word) ContSizingLR←P1440, 0, (word) XSizingLR←P1380, 0, (word) Varying←P1320, 0, (word) SetVaryingSize←P1260, 0, (word) YSizingLR←P1200, 0, (word) XCount←P1140, 0, (word) MyCount←P1080, 0, (word) ContConfigureLR←P1020, 0, (word) XConfigureLR←P960, 0, (word) YConfigureLR←P900, 0, (word) ContPreferredSizeLR←P840, 0, (word) XPreferredSizeLR←P780, 0, (word) YPreferredSizeLR←P720, 0, (word) AddPos←P660, 0, (word) GetForce←P600, 0, (word) DefineBorders←P540, 0, (word) CreateAbut←P480, 0, (word) CreateYStack←P420, 0, (word) CreateXStack←P360, 0, (word) SetForce←P300, 0, (word) AppendChildren←P240, 0, (word) AppendChild←P180, 0, (word) RemoveChild←P120, 0, (word) CreateContainer←P60, 0, (word) XTkContainersImpl←P0, {0} }; static void NoName←Q2940() { register ptr gf←c0263 = (ptr) &globalframe; word var←c24724; (* (( (ptr) gf←c0263)+11) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf←c0263)+12) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4); (* (( (ptr) gf←c0263)+14) ) = (word) XR←GetTypeIndexS((word) (&string5)); (* (( (ptr) gf←c0263)+15) ) = (word) XR←GetTypeIndex((word) &string6, 0, (word) &string7); (* (ptr) (( (bPt) gf←c0263)+72) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0263)+11) ), (word) &string8); (* (ptr) (( (bPt) gf←c0263)+76) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0263)+11) ), (word) &string9); (* (ptr) (( (bPt) gf←c0263)+80) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0263)+11) ), (word) &string10); (void) XR←DeclareGlobalFrame((word) "XTkContainersImpl", &globalframe, (word) XR←GetTypeIndex((word) &string11, 0, (word) &string12) , (word) (( (bPt) gf←c0263)+276)/* var←c23412 */ ); var←c24724 = (word) XR←ImportInterface((word) "XTk", (word) XR←GetTypeIndexS((word) (&string13)), 50); (* (( (ptr) gf←c0263)+73)/* var←c23860 */ ) = var←c24724; (void) XR←ImportProcS(var←c24724, 786947); (void) XR←ImportProcS(var←c24724, 67378689); var←c24724 = (word) XR←ImportInterface((word) "XTkCollections", (word) XR←GetTypeIndexS((word) (&string14)), 16); (* (( (ptr) gf←c0263)+71)/* var←c23476 */ ) = var←c24724; (void) XR←ImportProcS(var←c24724, 790275); (void) XR←ImportProcS(var←c24724, 787715); (void) XR←ImportProcS(var←c24724, 1049348); (void) XR←ImportProcS(var←c24724, 1048836); (void) XR←ImportProcS(var←c24724, 69992451); (void) XR←ImportProcS(var←c24724, 67636482); var←c24724 = (word) XR←ImportInterface((word) "XTkFriends", (word) XR←GetTypeIndexS((word) (&string15)), 33); (* (( (ptr) gf←c0263)+72)/* var←c23508 */ ) = var←c24724; (void) XR←ImportProcS(var←c24724, 2098180); (void) XR←ImportProcS(var←c24724, 2102532); (void) XR←ImportProcS(var←c24724, 337643012); (void) XR←ImportProcS(var←c24724, 67637250); (void) XR←ImportProcS(var←c24724, 73666049); var←c24724 = (word) XR←ExportInterface((word) "XTkContainers", (word) XR←GetTypeIndexS((word) (&string16)), 12); (* (( (ptr) gf←c0263)+74)/* var←c24756 */ ) = var←c24724; (void) XR←ExportVar(var←c24724, 0, (word) (( (bPt) gf←c0263)+32)/* yStack←v2692 */ ); (void) XR←ExportVar(var←c24724, 1, (word) (( (bPt) gf←c0263)+36)/* xStack←v2720 */ ); (void) XR←ExportVar(var←c24724, 2, (word) (( (bPt) gf←c0263)+40)/* container←v2748 */ ); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+220)/* var←c23188 */ , 69993219); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+228)/* var←c23220 */ , 69993475); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+212)/* var←c23156 */ , 70255876); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+268)/* var←c23380 */ , 69731842); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+252)/* var←c23316 */ , 788227); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+244)/* var←c23284 */ , 788483); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+260)/* var←c23348 */ , 1050884); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+236)/* var←c23252 */ , 526850); (void) XR←ExportProcS(var←c24724, (word) (( (bPt) gf←c0263)+108)/* var←c22740 */ , 527106); } static void XTkContainersImpl←P0(formal←c044, formal←c037) word formal←c044; word formal←c037; { register ptr gf←c24788 = (ptr) &globalframe; /* XTkContainersImpl: */ SOURCE(65, 15149) SOURCE(329, 221) { W25 var←c039; (* (ptr) &var←c039 ) = (* (( (ptr) gf←c24788)+20) ); (* (( (ptr) &var←c039)+1) ) = 0; (* (( (ptr) &var←c039)+2) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c24788)+71)/* var←c23476 */ ))+14) ) ); (* (( (ptr) &var←c039)+3) ) = 0; (* (( (ptr) &var←c039)+4) ) = 0; (* (( (ptr) &var←c039)+5) ) = 0; (* (( (ptr) &var←c039)+6) ) = (word) (( (bPt) gf←c24788)+180)/* var←c23028 */ ; (* (( (ptr) &var←c039)+7) ) = (word) (( (bPt) gf←c24788)+156)/* var←c22932 */ ; (* (( (ptr) &var←c039)+8) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+9) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+10) ) = (* (( (ptr) (* (( (ptr) gf←c24788)+71)/* var←c23476 */ ))+17) ); (* (( (ptr) &var←c039)+11) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+12) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+13) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+14) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+15) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+16) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+17) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+18) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+19) ) = 0; (* (( (ptr) &var←c039)+20) ) = 0; (* (( (ptr) &var←c039)+21) ) = 0; (* (( (ptr) &var←c039)+22) ) = 0; (* (( (ptr) &var←c039)+23) ) = XR←CheckProc(0); (* (( (ptr) &var←c039)+24) ) = XR←CheckProc(0); { word pd17; pd17 = (* (( (ptr) (* (( (ptr) gf←c24788)+72)/* var←c23508 */ ))+18) ); (* (( (ptr) gf←c24788)+8)/* yStack←v2692 */ ) = (word) ( *( (fPt) ((* (ptr) pd17 ))))((word) (&var←c039), pd17); }; }; SOURCE(552, 221) { W25 var←c041; (* (ptr) &var←c041 ) = (* (( (ptr) gf←c24788)+19) ); (* (( (ptr) &var←c041)+1) ) = 0; (* (( (ptr) &var←c041)+2) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c24788)+71)/* var←c23476 */ ))+14) ) ); (* (( (ptr) &var←c041)+3) ) = 0; (* (( (ptr) &var←c041)+4) ) = 0; (* (( (ptr) &var←c041)+5) ) = 0; (* (( (ptr) &var←c041)+6) ) = (word) (( (bPt) gf←c24788)+172)/* var←c22996 */ ; (* (( (ptr) &var←c041)+7) ) = (word) (( (bPt) gf←c24788)+148)/* var←c22900 */ ; (* (( (ptr) &var←c041)+8) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+9) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+10) ) = (* (( (ptr) (* (( (ptr) gf←c24788)+71)/* var←c23476 */ ))+17) ); (* (( (ptr) &var←c041)+11) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+12) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+13) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+14) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+15) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+16) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+17) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+18) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+19) ) = 0; (* (( (ptr) &var←c041)+20) ) = 0; (* (( (ptr) &var←c041)+21) ) = 0; (* (( (ptr) &var←c041)+22) ) = 0; (* (( (ptr) &var←c041)+23) ) = XR←CheckProc(0); (* (( (ptr) &var←c041)+24) ) = XR←CheckProc(0); { word pd18; pd18 = (* (( (ptr) (* (( (ptr) gf←c24788)+72)/* var←c23508 */ ))+18) ); (* (( (ptr) gf←c24788)+9)/* xStack←v2720 */ ) = (word) ( *( (fPt) ((* (ptr) pd18 ))))((word) (&var←c041), pd18); }; }; SOURCE(775, 233) { W25 var←c043; (* (ptr) &var←c043 ) = (* (( (ptr) gf←c24788)+18) ); (* (( (ptr) &var←c043)+1) ) = 0; (* (( (ptr) &var←c043)+2) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c24788)+71)/* var←c23476 */ ))+14) ) ); (* (( (ptr) &var←c043)+3) ) = 0; (* (( (ptr) &var←c043)+4) ) = 0; (* (( (ptr) &var←c043)+5) ) = 0; (* (( (ptr) &var←c043)+6) ) = (word) (( (bPt) gf←c24788)+164)/* var←c22964 */ ; (* (( (ptr) &var←c043)+7) ) = (word) (( (bPt) gf←c24788)+140)/* var←c22868 */ ; (* (( (ptr) &var←c043)+8) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+9) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+10) ) = (* (( (ptr) (* (( (ptr) gf←c24788)+71)/* var←c23476 */ ))+17) ); (* (( (ptr) &var←c043)+11) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+12) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+13) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+14) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+15) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+16) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+17) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+18) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+19) ) = 0; (* (( (ptr) &var←c043)+20) ) = 0; (* (( (ptr) &var←c043)+21) ) = 0; (* (( (ptr) &var←c043)+22) ) = 0; (* (( (ptr) &var←c043)+23) ) = XR←CheckProc(0); (* (( (ptr) &var←c043)+24) ) = XR←CheckProc(0); { word pd19; pd19 = (* (( (ptr) (* (( (ptr) gf←c24788)+72)/* var←c23508 */ ))+18) ); (* (( (ptr) gf←c24788)+10)/* container←v2748 */ ) = (word) ( *( (fPt) ((* (ptr) pd19 ))))((word) (&var←c043), pd19); }; }; } static word CreateContainer←P60(widgetSpec←v3612, children←v3640) W9 widgetSpec←v3612; word children←v3640; { register ptr gf←c24820 = (ptr) &globalframe; word widget←v3768; /* CreateContainer: */ SOURCE(1011, 247) SOURCE(1011, 247) widget←v3768 = 0; SOURCE(1131, 73) { word pd20; pd20 = (* (( (ptr) (* (( (ptr) gf←c24820)+72)/* var←c23508 */ ))+20) ); (* (ptr) &widgetSpec←v3612 ) = (word) ( *( (fPt) ((* (ptr) pd20 ))))((* (ptr) &widgetSpec←v3612 ), (* (( (ptr) gf←c24820)+10) /* container←v2748 */ ), pd20); }; SOURCE(1206, 52) { word pd21; pd21 = (* (( (ptr) (* (( (ptr) gf←c24820)+71)/* var←c23476 */ ))+4) ); widget←v3768 = (word) ( *( (fPt) ((* (ptr) pd21 ))))(widgetSpec←v3612, children←v3640, 0, pd21); }; SOURCE(1011, 247) return(widget←v3768); } static void RemoveChild←P120(container←v3828, child←v3856, destroyChild←v3884, startReconfigure←v3912) word container←v3828; word child←v3856; word destroyChild←v3884; word startReconfigure←v3912; { register ptr gf←c24852 = (ptr) &globalframe; /* RemoveChild: */ SOURCE(1264, 209) SOURCE(1395, 78) { word pd22; pd22 = (* (( (ptr) (* (( (ptr) gf←c24852)+71)/* var←c23476 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd22 ))))(container←v3828, child←v3856, startReconfigure←v3912, (unsigned) (0 == destroyChild←v3884), pd22) ; }; } static void AppendChild←P180(container←v3972, child←v4000, startReconfigure←v4028) word container←v3972; word child←v4000; word startReconfigure←v4028; { register ptr gf←c24884 = (ptr) &globalframe; /* AppendChild: */ SOURCE(1477, 160) SOURCE(1572, 65) { word pd23; pd23 = (* (( (ptr) (* (( (ptr) gf←c24884)+71)/* var←c23476 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd23 ))))(container←v3972, child←v4000, 0, startReconfigure←v4028, pd23); }; } static void AppendChildren←P240(container←v4088, children←v4116, startReconfigure←v4144) word container←v4088; word children←v4116; word startReconfigure←v4144; { register ptr gf←c24916 = (ptr) &globalframe; /* AppendChildren: */ SOURCE(1641, 167) SOURCE(1743, 65) { word pd24; pd24 = (* (( (ptr) (* (( (ptr) gf←c24916)+71)/* var←c23476 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd24 ))))(container←v4088, children←v4116, startReconfigure←v4144, pd24); }; } static void SetForce←P300(container←v4288, force←v4316) word container←v4288; word force←v4316; { register ptr gf←c24948 = (ptr) &globalframe; word ip←v6340; /* SetForce: */ SOURCE(1814, 224) SOURCE(1881, 87) { word var←c23604; word superClass←v17212; superClass←v17212 = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c24948)+71)/* var←c23476 */ ))+14) ) ); { word idx25; word limit26; var←c23604 = (* ((( (ptr) container←v4288)+49)+( idx25 = (* (( (ptr) superClass←v17212)+4) ), limit26 = (* (( (ptr) container←v4288)+48) ), BCK(idx25, limit26) )) ); }; ip←v6340 = XR←Narrow(var←c23604, (* (( (ptr) gf←c24948)+15) )); }; SOURCE(1970, 68) if (( (int)force←v4316 != (int) (word) -1)) { SOURCE(1987, 34) { word var←c23636; var←c23636 = XR←NewObject(4, (* (( (ptr) gf←c24948)+14) )); (* (ptr) var←c23636 ) = force←v4316; (* (( (ptr) ip←v6340)+3) ) = var←c23636; }; } else { SOURCE(2021, 17) (* (( (ptr) ip←v6340)+3) ) = 0; }; } static word CreateXStack←P360(widgetSpec←v4376, stack←v4404, force←v4432) W9 widgetSpec←v4376; word stack←v4404; word force←v4432; { register ptr gf←c24980 = (ptr) &globalframe; word widget←v4560; /* CreateXStack: */ SOURCE(2044, 272) SOURCE(2044, 272) widget←v4560 = 0; SOURCE(2170, 70) { word pd27; pd27 = (* (( (ptr) (* (( (ptr) gf←c24980)+72)/* var←c23508 */ ))+20) ); (* (ptr) &widgetSpec←v4376 ) = (word) ( *( (fPt) ((* (ptr) pd27 ))))((* (ptr) &widgetSpec←v4376 ), (* (( (ptr) gf←c24980)+9) /* xStack←v2720 */ ), pd27); }; SOURCE(2242, 49) { word pd28; pd28 = (* (( (ptr) (* (( (ptr) gf←c24980)+71)/* var←c23476 */ ))+4) ); widget←v4560 = (word) ( *( (fPt) ((* (ptr) pd28 ))))(widgetSpec←v4376, stack←v4404, 0, pd28); }; SOURCE(2293, 23) (void) SetForce←P300(widget←v4560, force←v4432); SOURCE(2044, 272) return(widget←v4560); } static word CreateYStack←P420(widgetSpec←v4620, stack←v4648, force←v4676) W9 widgetSpec←v4620; word stack←v4648; word force←v4676; { register ptr gf←c25012 = (ptr) &globalframe; word widget←v4804; /* CreateYStack: */ SOURCE(2322, 272) SOURCE(2322, 272) widget←v4804 = 0; SOURCE(2448, 70) { word pd29; pd29 = (* (( (ptr) (* (( (ptr) gf←c25012)+72)/* var←c23508 */ ))+20) ); (* (ptr) &widgetSpec←v4620 ) = (word) ( *( (fPt) ((* (ptr) pd29 ))))((* (ptr) &widgetSpec←v4620 ), (* (( (ptr) gf←c25012)+8) /* yStack←v2692 */ ), pd29); }; SOURCE(2520, 49) { word pd30; pd30 = (* (( (ptr) (* (( (ptr) gf←c25012)+71)/* var←c23476 */ ))+4) ); widget←v4804 = (word) ( *( (fPt) ((* (ptr) pd30 ))))(widgetSpec←v4620, stack←v4648, 0, pd30); }; SOURCE(2571, 23) (void) SetForce←P300(widget←v4804, force←v4676); SOURCE(2322, 272) return(widget←v4804); } static word CreateAbut←P480(widgetSpec←v4864, children←v4892, orient←v4920, force←v4948) W9 widgetSpec←v4864; word children←v4892; word orient←v4920; word force←v4948; { register ptr gf←c25044 = (ptr) &globalframe; word widget←v5076; /* CreateAbut: */ SOURCE(2600, 438) SOURCE(2600, 438) widget←v5076 = 0; SOURCE(2762, 178) { word var←c23668; var←c23668 = orient←v4920; if ((var←c23668 == 0)) { SOURCE(2789, 70) { word pd31; pd31 = (* (( (ptr) (* (( (ptr) gf←c25044)+72)/* var←c23508 */ ))+20) ); (* (ptr) &widgetSpec←v4864 ) = (word) ( *( (fPt) ((* (ptr) pd31 ))))((* (ptr) &widgetSpec←v4864 ), (* (( (ptr) gf←c25044)+9) /* xStack←v2720 */ ), pd31); }; } else { if ((var←c23668 == 1)) { SOURCE(2870, 70) { word pd32; pd32 = (* (( (ptr) (* (( (ptr) gf←c25044)+72)/* var←c23508 */ ))+20) ); (* (ptr) &widgetSpec←v4864 ) = (word) ( *( (fPt) ((* (ptr) pd32 ))))((* (ptr) &widgetSpec←v4864 ), (* (( (ptr) gf←c25044)+8) /* yStack←v2692 */ ), pd32); }; } else { SOURCE(2954, 5) (void) XR←RaiseUnnamedError(); }; }; }; SOURCE(2961, 52) { word pd33; pd33 = (* (( (ptr) (* (( (ptr) gf←c25044)+71)/* var←c23476 */ ))+4) ); widget←v5076 = (word) ( *( (fPt) ((* (ptr) pd33 ))))(widgetSpec←v4864, children←v4892, 0, pd33); }; SOURCE(3015, 23) (void) SetForce←P300(widget←v5076, force←v4948); SOURCE(2600, 438) return(widget←v5076); } static void DefineBorders←P540(formal←c0320) word formal←c0320; { W7 var←c25076; /* declaration of widget←v5136 skipped */ register ptr gf←c25108 = (ptr) &globalframe; /* declaration of var←c23700 skipped */ var←c25076.f4/* widget←v5136 */ = formal←c0320; /* DefineBorders: */ SOURCE(3044, 437) { word tmpAddr34; tmpAddr34 = (word) (( (ptr) &var←c25076)+5)/* var←c23700 */ ; (* (ptr) tmpAddr34 ) = ( ((word) (fPt) EachChild←P1500) ); (* (( (ptr) tmpAddr34) + 1) ) = 1; }; SOURCE(3226, 193) if (( (int)(* (( (ptr) var←c25076.f4/* widget←v5136 */ )+43) ) < (int)0)) { SOURCE(3264, 87) if (((* (( (ptr) var←c25076.f4/* widget←v5136 */ )+31) ) != 0)) { SOURCE(3291, 60) (* (( (ptr) var←c25076.f4/* widget←v5136 */ )+43) ) = (* (( (ptr) (* (( (ptr) var←c25076.f4/* widget←v5136 */ )+31) ))+43) ); }; SOURCE(3353, 66) if (( (int)(* (( (ptr) var←c25076.f4/* widget←v5136 */ )+43) ) < (int)0)) { SOURCE(3390, 29) (* (( (ptr) var←c25076.f4/* widget←v5136 */ )+43) ) = 0; }; }; SOURCE(3425, 56) { word pd35; pd35 = (* (( (ptr) (* (( (ptr) gf←c25108)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd35 ))))(var←c25076.f4/* widget←v5136 */ , (word) (( (bPt) &var←c25076)+20)/* var←c23700 */ , 0, pd35) ; }; } static word EachChild←P1500(collection←v17952, child←v17980, data←v18008, idx←v18036, formal←c25140) word collection←v17952; word child←v17980; word data←v18008; word idx←v18036; word formal←c25140; { word stop←v18080; formal←c25140 = (formal←c25140 - 20); /* EachChild: */ SOURCE(3089, 132) SOURCE(3089, 132) stop←v18080 = 0; SOURCE(3133, 88) if (( (int)(* (( (ptr) child←v17980)+43) ) < (int)0)) { SOURCE(3169, 52) (* (( (ptr) child←v17980)+43) ) = (* (( (ptr) (* (( (ptr) formal←c25140)+4) ))+43) ); }; SOURCE(3089, 132) return(stop←v18080); } static word GetForce←P600(widget←v5196) word widget←v5196; { register ptr gf←c25172 = (ptr) &globalframe; word var←c5240; word ip←v6428; /* GetForce: */ SOURCE(3487, 195) SOURCE(3487, 195) var←c5240 = (word) -1; SOURCE(3540, 84) { word var←c23732; word superClass←v22584; superClass←v22584 = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c25172)+71)/* var←c23476 */ ))+14) ) ); { word idx36; word limit37; var←c23732 = (* ((( (ptr) widget←v5196)+49)+( idx36 = (* (( (ptr) superClass←v22584)+4) ), limit37 = (* (( (ptr) widget←v5196)+48) ), BCK(idx36, limit37) )) ); }; ip←v6428 = XR←Narrow(var←c23732, (* (( (ptr) gf←c25172)+15) )); }; SOURCE(3626, 56) { word var←c23764; var←c23764 = (* (( (ptr) ip←v6428)+3) ); if ((var←c23764 == 0)) { goto lab←L100002; }; if (((* (( (ptr) gf←c25172)+14) ) == XR←GetReferentType(var←c23764))) { { word ri←v6472; ri←v6472 = var←c23764; SOURCE(3670, 12) return((* (ptr) ri←v6472 )); }; } else { lab←L100002: ; }; }; SOURCE(3487, 195) return(var←c5240); } static word AddPos←P660(gr←v5300) word gr←v5300; { word var←c5344; /* AddPos: */ SOURCE(3703, 114) SOURCE(3776, 12) gr←v5300 |= 16; SOURCE(3790, 12) gr←v5300 |= 8; SOURCE(3805, 12) return(gr←v5300); } static void YPreferredSizeLR←P720(formal←c0102, widget←v13920, mode←v13948, formal←c0321, formal←c0322) word formal←c0102; word widget←v13920; word mode←v13948; W5 formal←c0321; word formal←c0322; { W18 var←c25204; /* declaration of proposed←v13976 skipped */ /* declaration of maySkip←v14004 skipped */ register ptr gf←c25236 = (ptr) &globalframe; /* declaration of preferred←v14048 skipped */ /* declaration of var←c23796 skipped */ /* declaration of force←v6528 skipped */ (* (W5Pt) (( (ptr) &var←c25204)+4)/* proposed←v13976 */ ) = formal←c0321; (* (( (ptr) &var←c25204)+9)/* maySkip←v14004 */ ) = formal←c0322; /* YPreferredSizeLR: */ SOURCE(3821, 1160) { word tmpAddr38; tmpAddr38 = (word) (( (ptr) &var←c25204)+15)/* var←c23796 */ ; (* (ptr) tmpAddr38 ) = ( ((word) (fPt) EachChild←P1608) ); (* (( (ptr) tmpAddr38) + 1) ) = 1; }; SOURCE(3821, 1160) (* (( (ptr) &var←c25204)+10) ) = 2147483648; (* (( (ptr) &var←c25204)+11) ) = 2147483648; (* (( (ptr) &var←c25204)+12) ) = 2147483648; (* (( (ptr) &var←c25204)+13) ) = 2147483648; (* (( (ptr) &var←c25204)+14) ) = 2147483648; SOURCE(3865, 15) (* (( (ptr) &var←c25204)+17)/* force←v6528 */ ) = (word) -1; SOURCE(4401, 56) if (( (int)(* (( (ptr) widget←v13920)+7) ) > (int)0)) { SOURCE(4440, 17) (* (( (ptr) (&var←c25204)) + 9) ) |= 4; }; SOURCE(4459, 57) if (( (int)(* (( (ptr) widget←v13920)+8) ) > (int)0)) { SOURCE(4499, 17) (* (( (ptr) (&var←c25204)) + 9) ) |= 2; }; SOURCE(4518, 60) if ( ( ((* (( (bPt) &var←c25204)+39) ) & 04) ? (((unsigned)(* (( (bPt) &var←c25204)+39) ) << 30) >> 31) : 0 ) ) { SOURCE(4552, 26) (* (W5Pt) (( (ptr) &var←c25204)+10)/* preferred←v14048 */ ) = (* (W5Pt) (( (ptr) widget←v13920)+5) ); goto lab←L100003; }; SOURCE(4580, 102) (* (W2Pt) (( (ptr) &var←c25204)+10) ) = (* (W2Pt) (( (ptr) widget←v13920)+5) ); (* (( (ptr) &var←c25204)+12) ) = 0; (* (( (ptr) &var←c25204)+13) ) = 0; (* (( (ptr) &var←c25204)+14) ) = (* (( (ptr) widget←v13920)+9) ); SOURCE(4685, 24) (* (( (ptr) &var←c25204)+17)/* force←v6528 */ ) = (word) GetForce←P600(widget←v13920); SOURCE(4711, 25) (* (( (ptr) &var←c25204)+9)/* maySkip←v14004 */ ) = (word) AddPos←P660((* ((( (ptr) &var←c25204)+9)/* maySkip←v14004 */ ) )) ; SOURCE(4738, 56) { word pd39; pd39 = (* (( (ptr) (* (( (ptr) gf←c25236)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd39 ))))(widget←v13920, (word) (( (bPt) &var←c25204)+60)/* var←c23796 */ , 0, pd39); }; SOURCE(4796, 90) if (( (int)(* (( (ptr) widget←v13920)+7) ) > (int)0)) { SOURCE(4835, 51) (* (( (ptr) &var←c25204)+12) ) = (* (( (ptr) widget←v13920)+7) ); }; SOURCE(4888, 93) if (( (int)(* (( (ptr) widget←v13920)+8) ) > (int)0)) { SOURCE(4928, 53) (* (( (ptr) &var←c25204)+13) ) = (* (( (ptr) widget←v13920)+8) ); }; /* removed tail goto */ lab←L100003: ; (* (W5Pt) formal←c0102 ) = (* (W5Pt) (( (ptr) &var←c25204)+10)/* preferred←v14048 */ ); return; } static word EachChild←P1608(collection←v18444, child←v18472, data←v18500, idx←v18528, formal←c25300) word collection←v18444; word child←v18472; word data←v18500; word idx←v18528; word formal←c25300; { register ptr gf←c25268 = (ptr) &globalframe; word stop←v18572; word b←v6600; W5 g←v6628; formal←c25300 = (formal←c25300 - 60); /* EachChild: */ SOURCE(3882, 514) SOURCE(3882, 514) stop←v18572 = 0; SOURCE(3926, 31) { word pd40; pd40 = (* (( (ptr) (* (( (ptr) gf←c25268)+73)/* var←c23860 */ ))+34) ); b←v6600 = (word) ( *( (fPt) ((* (ptr) pd40 ))))(child←v18472, pd40); }; SOURCE(3959, 33) g←v6628 = (* (W5Pt) (( (ptr) child←v18472)+5) ); SOURCE(3994, 39) if (((* (( (ptr) child←v18472)+10) ) == 1)) { SOURCE(4027, 6) return(stop←v18572); }; SOURCE(4035, 17) g←v6628.f4 = b←v6600; SOURCE(4055, 34) g←v6628.f2 = (* (( (ptr) formal←c25300)+6) ); SOURCE(4091, 76) { word pd41; pd41 = (* (( (ptr) (* (( (ptr) gf←c25268)+72)/* var←c23508 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd41 ))))((word) &g←v6628, child←v18472, 0, g←v6628, (* (( (ptr) formal←c25300)+9) ), pd41); }; SOURCE(4169, 49) if (( (int)(* (( (ptr) formal←c25300)+17) ) > (int)0)) { SOURCE(4185, 33) { word x42; g←v6628.f3 = (x42 = ((* (( (ptr) formal←c25300)+17) ) - IOP2( * , (int)2, (int)b←v6600)), MAX((int)(word), x42, 1)); }; }; SOURCE(4220, 43) if (( (int)g←v6628.f3 <= (int)0)) { SOURCE(4245, 18) g←v6628.f3 = 20; }; SOURCE(4265, 62) { word x43; word x44; (* (( (ptr) formal←c25300)+12) ) = (x43 = (* (( (ptr) formal←c25300)+12) ), x44 = g←v6628.f2, MAX((int)(word), x43, x44)); }; SOURCE(4329, 67) (* (( (ptr) formal←c25300)+13) ) = (((* (( (ptr) formal←c25300)+13) ) + g←v6628.f3) + IOP2( * , (int)2, (int)b←v6600)); SOURCE(3882, 514) return(stop←v18572); } static void XPreferredSizeLR←P780(formal←c0119, widget←v14284, mode←v14312, formal←c0323, formal←c0324) word formal←c0119; word widget←v14284; word mode←v14312; W5 formal←c0323; word formal←c0324; { W18 var←c25332; /* declaration of proposed←v14340 skipped */ /* declaration of maySkip←v14368 skipped */ register ptr gf←c25364 = (ptr) &globalframe; /* declaration of preferred←v14412 skipped */ /* declaration of var←c23892 skipped */ /* declaration of force←v6672 skipped */ (* (W5Pt) (( (ptr) &var←c25332)+4)/* proposed←v14340 */ ) = formal←c0323; (* (( (ptr) &var←c25332)+9)/* maySkip←v14368 */ ) = formal←c0324; /* XPreferredSizeLR: */ SOURCE(4987, 1159) { word tmpAddr45; tmpAddr45 = (word) (( (ptr) &var←c25332)+15)/* var←c23892 */ ; (* (ptr) tmpAddr45 ) = ( ((word) (fPt) EachChild←P1668) ); (* (( (ptr) tmpAddr45) + 1) ) = 1; }; SOURCE(4987, 1159) (* (( (ptr) &var←c25332)+10) ) = 2147483648; (* (( (ptr) &var←c25332)+11) ) = 2147483648; (* (( (ptr) &var←c25332)+12) ) = 2147483648; (* (( (ptr) &var←c25332)+13) ) = 2147483648; (* (( (ptr) &var←c25332)+14) ) = 2147483648; SOURCE(5031, 15) (* (( (ptr) &var←c25332)+17)/* force←v6672 */ ) = (word) -1; SOURCE(5566, 56) if (( (int)(* (( (ptr) widget←v14284)+7) ) > (int)0)) { SOURCE(5605, 17) (* (( (ptr) (&var←c25332)) + 9) ) |= 2; }; SOURCE(5624, 57) if (( (int)(* (( (ptr) widget←v14284)+8) ) > (int)0)) { SOURCE(5664, 17) (* (( (ptr) (&var←c25332)) + 9) ) |= 4; }; SOURCE(5683, 60) if ( ( ((* (( (bPt) &var←c25332)+39) ) & 04) ? (((unsigned)(* (( (bPt) &var←c25332)+39) ) << 30) >> 31) : 0 ) ) { SOURCE(5717, 26) (* (W5Pt) (( (ptr) &var←c25332)+10)/* preferred←v14412 */ ) = (* (W5Pt) (( (ptr) widget←v14284)+5) ); goto lab←L100004; }; SOURCE(5745, 102) (* (W2Pt) (( (ptr) &var←c25332)+10) ) = (* (W2Pt) (( (ptr) widget←v14284)+5) ); (* (( (ptr) &var←c25332)+12) ) = 0; (* (( (ptr) &var←c25332)+13) ) = 0; (* (( (ptr) &var←c25332)+14) ) = (* (( (ptr) widget←v14284)+9) ); SOURCE(5850, 24) (* (( (ptr) &var←c25332)+17)/* force←v6672 */ ) = (word) GetForce←P600(widget←v14284); SOURCE(5876, 25) (* (( (ptr) &var←c25332)+9)/* maySkip←v14368 */ ) = (word) AddPos←P660((* ((( (ptr) &var←c25332)+9)/* maySkip←v14368 */ ) )) ; SOURCE(5903, 56) { word pd46; pd46 = (* (( (ptr) (* (( (ptr) gf←c25364)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd46 ))))(widget←v14284, (word) (( (bPt) &var←c25332)+60)/* var←c23892 */ , 0, pd46); }; SOURCE(5961, 90) if (( (int)(* (( (ptr) widget←v14284)+7) ) > (int)0)) { SOURCE(6000, 51) (* (( (ptr) &var←c25332)+12) ) = (* (( (ptr) widget←v14284)+7) ); }; SOURCE(6053, 93) if (( (int)(* (( (ptr) widget←v14284)+8) ) > (int)0)) { SOURCE(6093, 53) (* (( (ptr) &var←c25332)+13) ) = (* (( (ptr) widget←v14284)+8) ); }; /* removed tail goto */ lab←L100004: ; (* (W5Pt) formal←c0119 ) = (* (W5Pt) (( (ptr) &var←c25332)+10)/* preferred←v14412 */ ); return; } static word EachChild←P1668(collection←v18944, child←v18972, data←v19000, idx←v19028, formal←c25428) word collection←v18944; word child←v18972; word data←v19000; word idx←v19028; word formal←c25428; { register ptr gf←c25396 = (ptr) &globalframe; word stop←v19072; word b←v6744; W5 g←v6772; formal←c25428 = (formal←c25428 - 60); /* EachChild: */ SOURCE(5048, 513) SOURCE(5048, 513) stop←v19072 = 0; SOURCE(5092, 31) { word pd47; pd47 = (* (( (ptr) (* (( (ptr) gf←c25396)+73)/* var←c23860 */ ))+34) ); b←v6744 = (word) ( *( (fPt) ((* (ptr) pd47 ))))(child←v18972, pd47); }; SOURCE(5125, 33) g←v6772 = (* (W5Pt) (( (ptr) child←v18972)+5) ); SOURCE(5160, 39) if (((* (( (ptr) child←v18972)+10) ) == 1)) { SOURCE(5193, 6) return(stop←v19072); }; SOURCE(5201, 17) g←v6772.f4 = b←v6744; SOURCE(5221, 36) g←v6772.f3 = (* (( (ptr) formal←c25428)+7) ); SOURCE(5259, 76) { word pd48; pd48 = (* (( (ptr) (* (( (ptr) gf←c25396)+72)/* var←c23508 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd48 ))))((word) &g←v6772, child←v18972, 0, g←v6772, (* (( (ptr) formal←c25428)+9) ), pd48); }; SOURCE(5337, 48) if (( (int)(* (( (ptr) formal←c25428)+17) ) > (int)0)) { SOURCE(5353, 32) { word x49; g←v6772.f2 = (x49 = ((* (( (ptr) formal←c25428)+17) ) - IOP2( * , (int)2, (int)b←v6744)), MAX((int)(word), x49, 1)); }; }; SOURCE(5387, 41) if (( (int)g←v6772.f2 <= (int)0)) { SOURCE(5411, 17) g←v6772.f2 = 20; }; SOURCE(5430, 65) { word x50; word x51; (* (( (ptr) formal←c25428)+13) ) = (x50 = (* (( (ptr) formal←c25428)+13) ), x51 = g←v6772.f3, MAX((int)(word), x50, x51)); }; SOURCE(5497, 64) (* (( (ptr) formal←c25428)+12) ) = (((* (( (ptr) formal←c25428)+12) ) + g←v6772.f2) + IOP2( * , (int)2, (int)b←v6744)); SOURCE(5048, 513) return(stop←v19072); } static void ContPreferredSizeLR←P840(formal←c0135, widget←v14616, mode←v14644, formal←c0325, formal←c0326) word formal←c0135; word widget←v14616; word mode←v14644; W5 formal←c0325; word formal←c0326; { W17 var←c25460; /* declaration of proposed←v14672 skipped */ /* declaration of maySkip←v14700 skipped */ register ptr gf←c25492 = (ptr) &globalframe; /* declaration of preferred←v14744 skipped */ /* declaration of var←c23956 skipped */ (* (W5Pt) (( (ptr) &var←c25460)+4)/* proposed←v14672 */ ) = formal←c0325; (* (( (ptr) &var←c25460)+9)/* maySkip←v14700 */ ) = formal←c0326; /* ContPreferredSizeLR: */ SOURCE(6152, 1217) { word tmpAddr52; tmpAddr52 = (word) (( (ptr) &var←c25460)+15)/* var←c23956 */ ; (* (ptr) tmpAddr52 ) = ( ((word) (fPt) EachChild←P1728) ); (* (( (ptr) tmpAddr52) + 1) ) = 1; }; SOURCE(6152, 1217) (* (( (ptr) &var←c25460)+10) ) = 2147483648; (* (( (ptr) &var←c25460)+11) ) = 2147483648; (* (( (ptr) &var←c25460)+12) ) = 2147483648; (* (( (ptr) &var←c25460)+13) ) = 2147483648; (* (( (ptr) &var←c25460)+14) ) = 2147483648; SOURCE(6842, 56) if (( (int)(* (( (ptr) widget←v14616)+7) ) > (int)0)) { SOURCE(6881, 17) (* (( (ptr) (&var←c25460)) + 9) ) |= 4; }; SOURCE(6900, 57) if (( (int)(* (( (ptr) widget←v14616)+8) ) > (int)0)) { SOURCE(6940, 17) (* (( (ptr) (&var←c25460)) + 9) ) |= 2; }; SOURCE(6959, 60) if ( ( ((* (( (bPt) &var←c25460)+39) ) & 04) ? (((unsigned)(* (( (bPt) &var←c25460)+39) ) << 30) >> 31) : 0 ) ) { SOURCE(6993, 26) (* (W5Pt) (( (ptr) &var←c25460)+10)/* preferred←v14744 */ ) = (* (W5Pt) (( (ptr) widget←v14616)+5) ); goto lab←L100005; }; SOURCE(7021, 102) (* (W2Pt) (( (ptr) &var←c25460)+10) ) = (* (W2Pt) (( (ptr) widget←v14616)+5) ); (* (( (ptr) &var←c25460)+12) ) = 0; (* (( (ptr) &var←c25460)+13) ) = 0; (* (( (ptr) &var←c25460)+14) ) = (* (( (ptr) widget←v14616)+9) ); SOURCE(7126, 56) { word pd53; pd53 = (* (( (ptr) (* (( (ptr) gf←c25492)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd53 ))))(widget←v14616, (word) (( (bPt) &var←c25460)+60)/* var←c23956 */ , 0, pd53); }; SOURCE(7184, 90) if (( (int)(* (( (ptr) widget←v14616)+7) ) > (int)0)) { SOURCE(7223, 51) (* (( (ptr) &var←c25460)+12) ) = (* (( (ptr) widget←v14616)+7) ); }; SOURCE(7276, 93) if (( (int)(* (( (ptr) widget←v14616)+8) ) > (int)0)) { SOURCE(7316, 53) (* (( (ptr) &var←c25460)+13) ) = (* (( (ptr) widget←v14616)+8) ); }; /* removed tail goto */ lab←L100005: ; (* (W5Pt) formal←c0135 ) = (* (W5Pt) (( (ptr) &var←c25460)+10)/* preferred←v14744 */ ); return; } static word EachChild←P1728(collection←v19132, child←v19160, data←v19188, idx←v19216, formal←c25556) word collection←v19132; word child←v19160; word data←v19188; word idx←v19216; word formal←c25556; { register ptr gf←c25524 = (ptr) &globalframe; word stop←v19260; word b←v6860; W5 g←v6888; formal←c25556 = (formal←c25556 - 60); /* EachChild: */ SOURCE(6199, 638) SOURCE(6199, 638) stop←v19260 = 0; SOURCE(6243, 31) { word pd54; pd54 = (* (( (ptr) (* (( (ptr) gf←c25524)+73)/* var←c23860 */ ))+34) ); b←v6860 = (word) ( *( (fPt) ((* (ptr) pd54 ))))(child←v19160, pd54); }; SOURCE(6276, 77) (* (W2Pt) &g←v6888 ) = (* (W2Pt) (( (ptr) child←v19160)+39) ); (* (W2Pt) (( (ptr) &g←v6888)+2) ) = (* (W2Pt) (( (ptr) formal←c25556)+6) ); g←v6888.f4 = b←v6860; SOURCE(6355, 39) if (((* (( (ptr) child←v19160)+10) ) == 1)) { SOURCE(6388, 6) return(stop←v19260); }; SOURCE(6396, 76) { word pd55; pd55 = (* (( (ptr) (* (( (ptr) gf←c25524)+72)/* var←c23508 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd55 ))))((word) &g←v6888, child←v19160, 0, g←v6888, (* (( (ptr) formal←c25556)+9) ), pd55); }; SOURCE(6474, 40) if (( (int)g←v6888.f2 <= (int)0)) { SOURCE(6498, 16) g←v6888.f2 = 1; }; SOURCE(6516, 42) if (( (int)g←v6888.f3 <= (int)0)) { SOURCE(6541, 17) g←v6888.f3 = 1; }; SOURCE(6560, 56) if (( (int)g←v6888.f0 == (int)2147483648)) { SOURCE(6588, 28) g←v6888.f0 = (* (( (ptr) child←v19160)+39) ); }; SOURCE(6618, 56) if (( (int)g←v6888.f1 == (int)2147483648)) { SOURCE(6646, 28) g←v6888.f1 = (* (( (ptr) child←v19160)+40) ); }; SOURCE(6676, 78) { word x56; word x57; (* (( (ptr) formal←c25556)+12) ) = (x56 = (* (( (ptr) formal←c25556)+12) ), x57 = ((g←v6888.f0 + g←v6888.f2) + IOP2( * , (int)b←v6860, (int)2)), MAX((int)(word), x56, x57)); }; SOURCE(6756, 81) { word x58; word x59; (* (( (ptr) formal←c25556)+13) ) = (x58 = (* (( (ptr) formal←c25556)+13) ), x59 = ((g←v6888.f1 + g←v6888.f3) + IOP2( * , (int)b←v6860, (int)2)), MAX((int)(word), x58, x59)); }; SOURCE(6199, 638) return(stop←v19260); } static void YConfigureLR←P900(widget←v14108, geometry←v14136, mapping←v14164, reConsiderChildren←v14192) word widget←v14108; W5 geometry←v14136; word mapping←v14164; word reConsiderChildren←v14192; { register ptr gf←c25588 = (ptr) &globalframe; word existW←v6932; word createW←v6960; /* YConfigureLR: */ SOURCE(7375, 314) SOURCE(7411, 48) existW←v6932 = (unsigned) ((* (( (ptr) widget←v14108)+44) ) < 2); SOURCE(7461, 48) createW←v6960 = (unsigned) ( (mapping←v14164 < 2) ? (0 == existW←v6932) : 0 ) ; SOURCE(7511, 37) if ((0 != createW←v6960)) { SOURCE(7527, 21) (void) DefineBorders←P540(widget←v14108); }; SOURCE(7550, 63) { word pd60; pd60 = (* (( (ptr) (* (( (ptr) gf←c25588)+72)/* var←c23508 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd60 ))))(widget←v14108, geometry←v14136, mapping←v14164, 0, pd60); }; SOURCE(7615, 74) if (((0 != existW←v6932) || (0 != createW←v6960))) { SOURCE(7641, 48) (void) YSizingLR←P1200(widget←v14108, (unsigned) ((0 != reConsiderChildren←v14192) || (0 != createW←v6960))); }; } static void XConfigureLR←P960(widget←v14472, geometry←v14500, mapping←v14528, reConsiderChildren←v14556) word widget←v14472; W5 geometry←v14500; word mapping←v14528; word reConsiderChildren←v14556; { register ptr gf←c25620 = (ptr) &globalframe; word existW←v7004; word createW←v7032; /* XConfigureLR: */ SOURCE(7695, 314) SOURCE(7731, 48) existW←v7004 = (unsigned) ((* (( (ptr) widget←v14472)+44) ) < 2); SOURCE(7781, 48) createW←v7032 = (unsigned) ( (mapping←v14528 < 2) ? (0 == existW←v7004) : 0 ) ; SOURCE(7831, 37) if ((0 != createW←v7032)) { SOURCE(7847, 21) (void) DefineBorders←P540(widget←v14472); }; SOURCE(7870, 63) { word pd61; pd61 = (* (( (ptr) (* (( (ptr) gf←c25620)+72)/* var←c23508 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd61 ))))(widget←v14472, geometry←v14500, mapping←v14528, 0, pd61); }; SOURCE(7935, 74) if (((0 != existW←v7004) || (0 != createW←v7032))) { SOURCE(7961, 48) (void) XSizingLR←P1380(widget←v14472, (unsigned) ((0 != reConsiderChildren←v14556) || (0 != createW←v7032))); }; } static void ContConfigureLR←P1020(widget←v14804, geometry←v14832, mapping←v14860, reConsiderChildren←v14888) word widget←v14804; W5 geometry←v14832; word mapping←v14860; word reConsiderChildren←v14888; { register ptr gf←c25652 = (ptr) &globalframe; word existW←v7076; word createW←v7104; /* ContConfigureLR: */ SOURCE(8015, 459) SOURCE(8054, 48) existW←v7076 = (unsigned) ((* (( (ptr) widget←v14804)+44) ) < 2); SOURCE(8104, 48) createW←v7104 = (unsigned) ( (mapping←v14860 < 2) ? (0 == existW←v7076) : 0 ) ; SOURCE(8154, 173) if ((0 != createW←v7104)) { SOURCE(8172, 21) (void) DefineBorders←P540(widget←v14804); SOURCE(8195, 132) if (((* (( (ptr) widget←v14804)+16) ) == (word) -1)) { SOURCE(8254, 73) (* (( (ptr) widget←v14804)+16) ) = (* (( (ptr) (* (( (ptr) (* (( (ptr) widget←v14804)+36) ))+1) ))+2) ); }; }; SOURCE(8330, 63) { word pd62; pd62 = (* (( (ptr) (* (( (ptr) gf←c25652)+72)/* var←c23508 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd62 ))))(widget←v14804, geometry←v14832, mapping←v14860, 0, pd62); }; SOURCE(8395, 79) if (((0 != existW←v7076) || (0 != createW←v7104))) { SOURCE(8423, 51) (void) ContSizingLR←P1440(widget←v14804, (unsigned) ((0 != reConsiderChildren←v14888) || (0 != createW←v7104))); }; } static void MyCount←P1080(formal←c0166, widget←v5404) word formal←c0166; word widget←v5404; { W8 var←c25684; register ptr gf←c25716 = (ptr) &globalframe; /* declaration of n←v5448 skipped */ /* declaration of lastChild←v5476 skipped */ /* declaration of var←c24052 skipped */ /* MyCount: */ SOURCE(8483, 246) { word tmpAddr63; tmpAddr63 = (word) (( (ptr) &var←c25684)+6)/* var←c24052 */ ; (* (ptr) tmpAddr63 ) = ( ((word) (fPt) EachChild←P1788) ); (* (( (ptr) tmpAddr63) + 1) ) = 1; }; SOURCE(8483, 246) var←c25684.f4/* n←v5448 */ = 0; SOURCE(8483, 246) var←c25684.f5/* lastChild←v5476 */ = 0; SOURCE(8673, 56) { word pd64; pd64 = (* (( (ptr) (* (( (ptr) gf←c25716)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd64 ))))(widget←v5404, (word) (( (bPt) &var←c25684)+24)/* var←c24052 */ , 0, pd64); }; /* removed tail goto */ (* (ptr) formal←c0166 ) = var←c25684.f4/* n←v5448 */ ; (* (( (ptr) formal←c0166)+1) ) = var←c25684.f5/* lastChild←v5476 */ ; return; } static word EachChild←P1788(collection←v20760, child←v20788, data←v20816, idx←v20844, formal←c25748) word collection←v20760; word child←v20788; word data←v20816; word idx←v20844; word formal←c25748; { word stop←v20888; formal←c25748 = (formal←c25748 - 24); /* EachChild: */ SOURCE(8564, 104) SOURCE(8564, 104) stop←v20888 = 0; SOURCE(8608, 60) if (((* (( (ptr) child←v20788)+10) ) != 1)) { SOURCE(8642, 7) (* (( (ptr) formal←c25748)+4) ) = ((* (( (ptr) formal←c25748)+4) ) + 1); SOURCE(8651, 17) (* (( (ptr) formal←c25748)+5) ) = child←v20788; }; SOURCE(8564, 104) return(stop←v20888); } static void XCount←P1140(formal←c0178, widget←v5536, formal←c0327) word formal←c0178; word widget←v5536; word formal←c0327; { W10 var←c25780; /* declaration of reConsiderChildren←v5564 skipped */ register ptr gf←c25812 = (ptr) &globalframe; /* declaration of mapCount←v5608 skipped */ /* declaration of considerCount←v5636 skipped */ /* declaration of lastChild←v5664 skipped */ /* declaration of var←c24084 skipped */ (* (( (ptr) &var←c25780)+4)/* reConsiderChildren←v5564 */ ) = formal←c0327; /* XCount: */ SOURCE(8735, 411) { word tmpAddr65; tmpAddr65 = (word) (( (ptr) &var←c25780)+8)/* var←c24084 */ ; (* (ptr) tmpAddr65 ) = ( ((word) (fPt) EachChild←P1848) ); (* (( (ptr) tmpAddr65) + 1) ) = 1; }; SOURCE(8735, 411) (* (( (ptr) &var←c25780)+5)/* mapCount←v5608 */ ) = 0; SOURCE(8735, 411) (* (( (ptr) &var←c25780)+6)/* considerCount←v5636 */ ) = 0; SOURCE(8735, 411) (* (( (ptr) &var←c25780)+7)/* lastChild←v5664 */ ) = 0; SOURCE(9090, 56) { word pd66; pd66 = (* (( (ptr) (* (( (ptr) gf←c25812)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd66 ))))(widget←v5536, (word) (( (bPt) &var←c25780)+32)/* var←c24084 */ , 0, pd66); }; /* removed tail goto */ (* (ptr) formal←c0178 ) = (* (( (ptr) &var←c25780)+5)/* mapCount←v5608 */ ); (* (( (ptr) formal←c0178)+1) ) = (* (( (ptr) &var←c25780)+6)/* considerCount←v5636 */ ); (* (( (ptr) formal←c0178)+2) ) = (* (( (ptr) &var←c25780)+7)/* lastChild←v5664 */ ); return; } static word EachChild←P1848(collection←v20948, child←v20976, data←v21004, idx←v21032, formal←c25844) word collection←v20948; word child←v20976; word data←v21004; word idx←v21032; word formal←c25844; { word stop←v21076; formal←c25844 = (formal←c25844 - 32); /* EachChild: */ SOURCE(8872, 213) SOURCE(8872, 213) stop←v21076 = 0; SOURCE(8916, 59) if ( ( ((* (( (ptr) child←v20976)+38) ) != 0) ? (0 == (* (( (ptr) formal←c25844)+4) )) : 0 ) ) { SOURCE(8969, 6) return(stop←v21076); }; SOURCE(8977, 74) if (((* (( (ptr) child←v20976)+10) ) != 1)) { SOURCE(9011, 21) (* (( (ptr) formal←c25844)+5) ) = ((* (( (ptr) formal←c25844)+5) ) + 1); SOURCE(9034, 17) (* (( (ptr) formal←c25844)+7) ) = child←v20976; }; SOURCE(9054, 31) (* (( (ptr) formal←c25844)+6) ) = ((* (( (ptr) formal←c25844)+6) ) + 1); SOURCE(8872, 213) return(stop←v21076); } static void YSizingLR←P1200(formal←c0328, formal←c0329) word formal←c0328; word formal←c0329; { W16 var←c25876; /* declaration of widget←v5724 skipped */ /* declaration of reConsiderChildren←v5752 skipped */ register ptr gf←c25908 = (ptr) &globalframe; /* declaration of var←c24116 skipped */ /* declaration of cd←v7236 skipped */ /* declaration of force←v7264 skipped */ word mapCount←v7292; /* declaration of allCount←v7320 skipped */ /* declaration of index←v7348 skipped */ /* declaration of varyingCount←v7376 skipped */ /* declaration of lastChild←v7404 skipped */ /* declaration of pos←v7432 skipped */ (* (( (ptr) &var←c25876)+4)/* widget←v5724 */ ) = formal←c0328; (* (( (ptr) &var←c25876)+5)/* reConsiderChildren←v5752 */ ) = formal←c0329; /* YSizingLR: */ SOURCE(9152, 2391) { word tmpAddr67; tmpAddr67 = (word) (( (ptr) &var←c25876)+6)/* var←c24116 */ ; (* (ptr) tmpAddr67 ) = ( ((word) (fPt) FirstPassPerChild←P1908) ); (* (( (ptr) tmpAddr67) + 1) ) = 1; }; SOURCE(9215, 29) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) = 0; SOURCE(9246, 29) (* (( (ptr) &var←c25876)+9)/* force←v7264 */ ) = (word) GetForce←P600((* ((( (ptr) &var←c25876)+4)/* widget←v5724 */ ) )) ; SOURCE(9307, 14) (* (( (ptr) &var←c25876)+11)/* index←v7348 */ ) = 0; SOURCE(9324, 21) (* (( (ptr) &var←c25876)+12)/* varyingCount←v7376 */ ) = 0; SOURCE(9347, 17) (* (( (ptr) &var←c25876)+13)/* lastChild←v7404 */ ) = 0; SOURCE(9366, 22) (* (( (ptr) &var←c25876)+14) ) = 0; (* (( (ptr) &var←c25876)+15) ) = 0; SOURCE(10390, 87) if ((0 != (* (( (ptr) &var←c25876)+5)/* reConsiderChildren←v5752 */ ))) { SOURCE(10417, 60) { word pd68; pd68 = (* (( (ptr) (* (( (ptr) gf←c25908)+73)/* var←c23860 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd68 ))))((* (( (ptr) &var←c25876)+4)/* widget←v5724 */ ), 0, 0, pd68); }; }; SOURCE(10479, 68) { W3 var←c24180; (void) XCount←P1140((word) &var←c24180, (* (( (ptr) &var←c25876)+4)/* widget←v5724 */ ), (* (( (ptr) &var←c25876)+5)/* reConsiderChildren←v5752 */ )) ; (* (( (ptr) &var←c25876)+13)/* lastChild←v7404 */ ) = var←c24180.f2; (* (( (ptr) &var←c25876)+10)/* allCount←v7320 */ ) = var←c24180.f1; mapCount←v7292 = var←c24180.f0; }; SOURCE(10572, 85) if ( ( ( (int)mapCount←v7292 > (int)0) ? ( (int)(* (( (ptr) &var←c25876)+9)/* force←v7264 */ ) == (int)0) : 0 ) ) { SOURCE(10605, 52) { word x69; (* (( (ptr) &var←c25876)+9)/* force←v7264 */ ) = (x69 = IOP2( / , (int)(* (( (ptr) (* (( (ptr) &var←c25876)+4)/* widget←v5724 */ ))+42) ), (int)mapCount←v7292), MAX((int)(word), 1, x69)); }; }; SOURCE(10662, 35) { word var←c24212; word var←c24244; word var←c24276; { word idx70; var←c24212 = ( idx70 = (* (( (ptr) &var←c25876)+10)/* allCount←v7320 */ ), BCK(idx70, 9586980) ); }; var←c24244 = ((word) var←c24212 * 28); var←c24276 = XR←NewObject((4 + var←c24244), (* (( (ptr) gf←c25908)+12) )); (* (ptr) var←c24276 ) = var←c24212; (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) = var←c24276; }; SOURCE(10699, 64) { word pd71; pd71 = (* (( (ptr) (* (( (ptr) gf←c25908)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd71 ))))((* (( (ptr) &var←c25876)+4)/* widget←v5724 */ ), (word) (( (bPt) &var←c25876)+24) /* var←c24116 */ , 0, pd71); }; SOURCE(10804, 535) if (( (int)(* (( (ptr) &var←c25876)+12)/* varyingCount←v7376 */ ) > (int)0)) { SOURCE(10827, 529) { word offset←v7544 = 0; word wrong←v7572; SOURCE(10846, 44) wrong←v7572 = ((* (( (ptr) (* (( (ptr) &var←c25876)+4)/* widget←v5724 */ ))+42) ) - (* (( (ptr) &var←c25876)+15) )); SOURCE(10892, 447) if (( (int)wrong←v7572 != (int)0)) { SOURCE(10910, 429) { register word i←v7616 = 0; register word noName←c24308; noName←c24308 = (* (( (ptr) &var←c25876)+10)/* allCount←v7320 */ ); if (( (int)i←v7616 >= (int)noName←c24308)) { goto lab←L100008; }; lab←L100011: ; { word child←v7660; SOURCE(10977, 31) { word limit72; child←v7660 = (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( limit72 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), BCK(i←v7616, limit72) )) ).f0; }; SOURCE(11010, 38) { word limit73; word limit74; (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( limit73 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), BCK(i←v7616, limit73) )) ).f2 = ((* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( limit74 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), BCK(i←v7616, limit74) )) ).f2 + offset←v7544); }; SOURCE(11050, 289) if ((0 != (word) Varying←P1320(child←v7660))) { SOURCE(11073, 268) { word correction←v7704; SOURCE(11075, 36) correction←v7704 = IOP2( / , (int)wrong←v7572, (int)(* (( (ptr) &var←c25876)+12)/* varyingCount←v7376 */ )); SOURCE(11113, 29) (* (( (ptr) &var←c25876)+12)/* varyingCount←v7376 */ ) = ((* (( (ptr) &var←c25876)+12)/* varyingCount←v7376 */ ) - 1); SOURCE(11144, 79) { word limit75; if (( (int)((* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( /*1*/ limit75 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), /*1*/ BCK(i←v7616, limit75) /*1*/ )) ).f4 + correction←v7704) < (int)1)) { SOURCE(11189, 34) /*1*/ { /*1*/ word limit76; /*1*/ correction←v7704 = (1 - (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( /*1*/ limit76 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), /*1*/ BCK(i←v7616, limit76) /*1*/ )) ).f4); /*1*/ }; /*1*/ }; }; SOURCE(11229, 24) wrong←v7572 = (wrong←v7572 - correction←v7704); SOURCE(11255, 54) { word limit77; word limit78; (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( /*1*/ limit77 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), /*1*/ BCK(i←v7616, limit77) /*1*/ )) ).f4 = ((* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( /*1*/ limit78 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), /*1*/ BCK(i←v7616, limit78) /*1*/ )) ).f4 + correction←v7704); }; SOURCE(11311, 28) offset←v7544 = (offset←v7544 + correction←v7704); }; }; }; i←v7616 = (i←v7616 + 1); if (( (int)i←v7616 < (int)noName←c24308)) { goto lab←L100011; }; lab←L100008: ; }; }; }; }; SOURCE(11359, 184) { register word i←v7748 = 0; register word noName←c24340; noName←c24340 = (* (( (ptr) &var←c25876)+10)/* allCount←v7320 */ ); if (( (int)i←v7748 >= (int)noName←c24340)) { goto lab←L100012; }; lab←L100015: ; { word child←v7792; SOURCE(11437, 31) { word limit79; child←v7792 = (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( limit79 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), BCK(i←v7748, limit79) )) ).f0; }; SOURCE(11470, 73) { word pd80; word limit81; word limit82; pd80 = (* (( (ptr) (* (( (ptr) gf←c25908)+72)/* var←c23508 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd80 ))))(child←v7792, (* (W5Pt) (( (ptr) (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1) )+( limit81 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), BCK(i←v7748, limit81) )))+1) ), (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ))+1))+( limit82 = (* (ptr) (* (( (ptr) &var←c25876)+8)/* cd←v7236 */ ) ), BCK(i←v7748, limit82) )) ).f6, (* (( (ptr) &var←c25876)+5)/* reConsiderChildren←v5752 */ ), pd80); }; }; i←v7748 = (i←v7748 + 1); if (( (int)i←v7748 < (int)noName←c24340)) { goto lab←L100015; }; lab←L100012: ; }; } static word FirstPassPerChild←P1908(collection←v21280, child←v21308, data←v21336, idx←v21364, formal←c25972) word collection←v21280; word child←v21308; word data←v21336; word idx←v21364; word formal←c25972; { register ptr gf←c25940 = (ptr) &globalframe; word stop←v21408; W5 g←v7836; formal←c25972 = (formal←c25972 - 24); /* FirstPassPerChild: */ SOURCE(9415, 970) SOURCE(9415, 970) stop←v21408 = 0; SOURCE(9467, 29) g←v7836 = (* (W5Pt) (( (ptr) child←v21308)+39) ); SOURCE(9498, 59) if ( ( ((* (( (ptr) child←v21308)+38) ) != 0) ? (0 == (* (( (ptr) formal←c25972)+5) )) : 0 ) ) { SOURCE(9551, 6) return(stop←v21408); }; SOURCE(9559, 56) if (((* (( (ptr) child←v21308)+10) ) == 3)) { SOURCE(9591, 24) (* (( (ptr) child←v21308)+10) ) = 0; }; SOURCE(9617, 23) { word idx83; word limit84; (* (( (W7Pt) (( (ptr) (* (( (ptr) formal←c25972)+8) ))+1))+( idx83 = (* (( (ptr) formal←c25972)+11) ), limit84 = (* (ptr) (* (( (ptr) formal←c25972)+8) ) ), BCK(idx83, limit84) )) ).f0 = child←v21308; }; SOURCE(9642, 35) { word idx85; word limit86; (* (( (W7Pt) (( (ptr) (* (( (ptr) formal←c25972)+8) ))+1))+( idx85 = (* (( (ptr) formal←c25972)+11) ), limit86 = (* (ptr) (* (( (ptr) formal←c25972)+8) ) ), BCK(idx85, limit86) )) ).f6 = (* (( (ptr) child←v21308)+10) ); }; SOURCE(9679, 654) if (((* (( (ptr) child←v21308)+10) ) == 0)) { SOURCE(9712, 52) if ((0 != (word) Varying←P1320(child←v21308))) { SOURCE(9735, 29) (* (( (ptr) formal←c25972)+12) ) = ((* (( (ptr) formal←c25972)+12) ) + 1); }; SOURCE(9766, 92) { word pd87; pd87 = (* (( (ptr) (* (( (ptr) gf←c25940)+72)/* var←c23508 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd87 ))))((word) &g←v7836, child←v21308, 0, (* (W5Pt) (( (ptr) child←v21308)+39) ), 29, pd87) ; }; SOURCE(9860, 11) (* (W2Pt) &g←v7836 ) = (* (W2Pt) (( (ptr) formal←c25972)+14) ); SOURCE(9873, 41) if (( (int)g←v7836.f4 < (int)0)) { SOURCE(9897, 17) g←v7836.f4 = 0; }; SOURCE(9955, 57) g←v7836.f2 = ((* (( (ptr) (* (( (ptr) formal←c25972)+4) ))+41) ) - IOP2( * , (int)g←v7836.f4, (int)2)); SOURCE(10017, 63) if (( (int)(* (( (ptr) formal←c25972)+9) ) > (int)0)) { SOURCE(10033, 47) { word x88; g←v7836.f3 = (x88 = ((* (( (ptr) formal←c25972)+9) ) - IOP2( * , (int)g←v7836.f4, (int)2)), MAX((int)(word), 1, x88)); }; }; SOURCE(10082, 43) if (( (int)g←v7836.f3 <= (int)0)) { SOURCE(10107, 18) g←v7836.f3 = 20; }; SOURCE(10127, 40) if (( (int)g←v7836.f2 <= (int)0)) { SOURCE(10151, 16) g←v7836.f2 = 1; }; SOURCE(10169, 116) if ( ( (child←v21308 == (* (( (ptr) formal←c25972)+13) )) ? ( (int)(* (( (ptr) formal←c25972)+12) ) == (int)0) : 0 ) ) { SOURCE(10214, 71) { word x89; g←v7836.f3 = (x89 = (((* (( (ptr) (* (( (ptr) formal←c25972)+4) ))+42) ) - (* (( (ptr) formal←c25972)+15) )) - IOP2( * , (int)g←v7836.f4, (int)2) ), MAX((int)(word), x89, 1)); }; }; SOURCE(10290, 43) (* (( (ptr) formal←c25972)+15) ) = (((* (( (ptr) formal←c25972)+15) ) + g←v7836.f3) + IOP2( * , (int)2, (int)g←v7836.f4) ); }; SOURCE(10338, 15) { word idx90; word limit91; (* (W5Pt) (( (ptr) (( (W7Pt) (( (ptr) (* (( (ptr) formal←c25972)+8) ))+1))+( idx90 = (* (( (ptr) formal←c25972)+11) ), limit91 = (* (ptr) (* (( (ptr) formal←c25972)+8) ) ), BCK(idx90, limit91) )))+1) ) = g←v7836; }; SOURCE(10355, 30) { word x92; word x93; (* (( (ptr) formal←c25972)+11) ) = (x92 = (* (( (ptr) formal←c25972)+10) ), x93 = ((* (( (ptr) formal←c25972)+11) ) + 1), MIN((int)(word), x92, x93)); }; SOURCE(9415, 970) return(stop←v21408); } static void SetVaryingSize←P1260(childOfStack←v6004, varyingSize←v6032) word childOfStack←v6004; word varyingSize←v6032; { register ptr gf←c26004 = (ptr) &globalframe; /* SetVaryingSize: */ SOURCE(11781, 143) SOURCE(11866, 58) { word pd94; pd94 = (* (( (ptr) (* (( (ptr) gf←c26004)+73)/* var←c23860 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd94 ))))(childOfStack←v6004, 6, varyingSize←v6032, pd94); }; } static word Varying←P1320(widget←v6092) word widget←v6092; { word var←c6136; /* Varying: */ SOURCE(11928, 98) SOURCE(11978, 48) return( (unsigned) (((unsigned)(* (( (bPt) widget←v6092)+120) ) << 30) >> 31)); } static void XSizingLR←P1380(formal←c0330, formal←c0331) word formal←c0330; word formal←c0331; { W16 var←c26036; /* declaration of widget←v6196 skipped */ /* declaration of reConsiderChildren←v6224 skipped */ register ptr gf←c26068 = (ptr) &globalframe; /* declaration of var←c24372 skipped */ /* declaration of cd←v7880 skipped */ /* declaration of force←v7908 skipped */ word mapCount←v7936; /* declaration of allCount←v7964 skipped */ /* declaration of index←v7992 skipped */ /* declaration of varyingCount←v8020 skipped */ /* declaration of lastChild←v8048 skipped */ /* declaration of pos←v8076 skipped */ (* (( (ptr) &var←c26036)+4)/* widget←v6196 */ ) = formal←c0330; (* (( (ptr) &var←c26036)+5)/* reConsiderChildren←v6224 */ ) = formal←c0331; /* XSizingLR: */ SOURCE(12030, 2387) { word tmpAddr95; tmpAddr95 = (word) (( (ptr) &var←c26036)+6)/* var←c24372 */ ; (* (ptr) tmpAddr95 ) = ( ((word) (fPt) FirstPassPerChild←P2256) ); (* (( (ptr) tmpAddr95) + 1) ) = 1; }; SOURCE(12093, 29) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) = 0; SOURCE(12124, 29) (* (( (ptr) &var←c26036)+9)/* force←v7908 */ ) = (word) GetForce←P600((* ((( (ptr) &var←c26036)+4)/* widget←v6196 */ ) )) ; SOURCE(12185, 14) (* (( (ptr) &var←c26036)+11)/* index←v7992 */ ) = 0; SOURCE(12202, 21) (* (( (ptr) &var←c26036)+12)/* varyingCount←v8020 */ ) = 0; SOURCE(12225, 17) (* (( (ptr) &var←c26036)+13)/* lastChild←v8048 */ ) = 0; SOURCE(12244, 22) (* (( (ptr) &var←c26036)+14) ) = 0; (* (( (ptr) &var←c26036)+15) ) = 0; SOURCE(13270, 87) if ((0 != (* (( (ptr) &var←c26036)+5)/* reConsiderChildren←v6224 */ ))) { SOURCE(13297, 60) { word pd96; pd96 = (* (( (ptr) (* (( (ptr) gf←c26068)+73)/* var←c23860 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd96 ))))((* (( (ptr) &var←c26036)+4)/* widget←v6196 */ ), 0, 0, pd96); }; }; SOURCE(13359, 68) { W3 var←c24436; (void) XCount←P1140((word) &var←c24436, (* (( (ptr) &var←c26036)+4)/* widget←v6196 */ ), (* (( (ptr) &var←c26036)+5)/* reConsiderChildren←v6224 */ )) ; (* (( (ptr) &var←c26036)+13)/* lastChild←v8048 */ ) = var←c24436.f2; (* (( (ptr) &var←c26036)+10)/* allCount←v7964 */ ) = var←c24436.f1; mapCount←v7936 = var←c24436.f0; }; SOURCE(13452, 84) if ( ( ( (int)mapCount←v7936 > (int)0) ? ( (int)(* (( (ptr) &var←c26036)+9)/* force←v7908 */ ) == (int)0) : 0 ) ) { SOURCE(13485, 51) { word x97; (* (( (ptr) &var←c26036)+9)/* force←v7908 */ ) = (x97 = IOP2( / , (int)(* (( (ptr) (* (( (ptr) &var←c26036)+4)/* widget←v6196 */ ))+41) ), (int)mapCount←v7936), MAX((int)(word), 1, x97)); }; }; SOURCE(13541, 35) { word var←c24468; word var←c24500; word var←c24532; { word idx98; var←c24468 = ( idx98 = (* (( (ptr) &var←c26036)+10)/* allCount←v7964 */ ), BCK(idx98, 9586980) ); }; var←c24500 = ((word) var←c24468 * 28); var←c24532 = XR←NewObject((4 + var←c24500), (* (( (ptr) gf←c26068)+12) )); (* (ptr) var←c24532 ) = var←c24468; (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) = var←c24532; }; SOURCE(13578, 64) { word pd99; pd99 = (* (( (ptr) (* (( (ptr) gf←c26068)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd99 ))))((* (( (ptr) &var←c26036)+4)/* widget←v6196 */ ), (word) (( (bPt) &var←c26036)+24) /* var←c24372 */ , 0, pd99); }; SOURCE(13683, 530) if (( (int)(* (( (ptr) &var←c26036)+12)/* varyingCount←v8020 */ ) > (int)0)) { SOURCE(13706, 524) { word offset←v8188 = 0; word wrong←v8216; SOURCE(13725, 43) wrong←v8216 = ((* (( (ptr) (* (( (ptr) &var←c26036)+4)/* widget←v6196 */ ))+41) ) - (* (( (ptr) &var←c26036)+14) )); SOURCE(13770, 443) if (( (int)wrong←v8216 != (int)0)) { SOURCE(13788, 425) { register word i←v8260 = 0; register word noName←c24564; noName←c24564 = (* (( (ptr) &var←c26036)+10)/* allCount←v7964 */ ); if (( (int)i←v8260 >= (int)noName←c24564)) { goto lab←L100016; }; lab←L100019: ; { word child←v8304; SOURCE(13855, 31) { word limit100; child←v8304 = (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( limit100 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), BCK(i←v8260, limit100) )) ).f0; }; SOURCE(13888, 38) { word limit101; word limit102; (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( limit101 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), BCK(i←v8260, limit101) )) ).f1 = ((* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( limit102 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), BCK(i←v8260, limit102) )) ).f1 + offset←v8188); }; SOURCE(13928, 285) if ((0 != (word) Varying←P1320(child←v8304))) { SOURCE(13951, 264) { word correction←v8348; SOURCE(13953, 36) correction←v8348 = IOP2( / , (int)wrong←v8216, (int)(* (( (ptr) &var←c26036)+12)/* varyingCount←v8020 */ )); SOURCE(13991, 29) (* (( (ptr) &var←c26036)+12)/* varyingCount←v8020 */ ) = ((* (( (ptr) &var←c26036)+12)/* varyingCount←v8020 */ ) - 1); SOURCE(14022, 77) { word limit103; if (( (int)((* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( /*1*/ limit103 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), /*1*/ BCK(i←v8260, limit103) /*1*/ )) ).f3 + correction←v8348) < (int)1)) { SOURCE(14066, 33) /*1*/ { /*1*/ word limit104; /*1*/ correction←v8348 = (1 - (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( /*1*/ limit104 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), /*1*/ BCK(i←v8260, limit104) /*1*/ )) ).f3); /*1*/ }; /*1*/ }; }; SOURCE(14105, 24) wrong←v8216 = (wrong←v8216 - correction←v8348); SOURCE(14131, 52) { word limit105; word limit106; (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( /*1*/ limit105 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), /*1*/ BCK(i←v8260, limit105) /*1*/ )) ).f3 = ((* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( /*1*/ limit106 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), /*1*/ BCK(i←v8260, limit106) /*1*/ )) ).f3 + correction←v8348); }; SOURCE(14185, 28) offset←v8188 = (offset←v8188 + correction←v8348); }; }; }; i←v8260 = (i←v8260 + 1); if (( (int)i←v8260 < (int)noName←c24564)) { goto lab←L100019; }; lab←L100016: ; }; }; }; }; SOURCE(14233, 184) { register word i←v8392 = 0; register word noName←c24596; noName←c24596 = (* (( (ptr) &var←c26036)+10)/* allCount←v7964 */ ); if (( (int)i←v8392 >= (int)noName←c24596)) { goto lab←L100020; }; lab←L100023: ; { word child←v8436; SOURCE(14311, 31) { word limit107; child←v8436 = (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( limit107 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), BCK(i←v8392, limit107) )) ).f0; }; SOURCE(14344, 73) { word pd108; word limit109; word limit110; pd108 = (* (( (ptr) (* (( (ptr) gf←c26068)+72)/* var←c23508 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd108 ))))(child←v8436, (* (W5Pt) (( (ptr) (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1) )+( limit109 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), BCK(i←v8392, limit109) )))+1) ), (* (( (W7Pt) (( (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ))+1))+( limit110 = (* (ptr) (* (( (ptr) &var←c26036)+8)/* cd←v7880 */ ) ), BCK(i←v8392, limit110) )) ).f6, (* (( (ptr) &var←c26036)+5)/* reConsiderChildren←v6224 */ ), pd108); }; }; i←v8392 = (i←v8392 + 1); if (( (int)i←v8392 < (int)noName←c24596)) { goto lab←L100023; }; lab←L100020: ; }; } static word FirstPassPerChild←P2256(collection←v22088, child←v22116, data←v22144, idx←v22172, formal←c26132) word collection←v22088; word child←v22116; word data←v22144; word idx←v22172; word formal←c26132; { register ptr gf←c26100 = (ptr) &globalframe; word stop←v22216; W5 g←v8480; formal←c26132 = (formal←c26132 - 24); /* FirstPassPerChild: */ SOURCE(12293, 972) SOURCE(12293, 972) stop←v22216 = 0; SOURCE(12345, 29) g←v8480 = (* (W5Pt) (( (ptr) child←v22116)+39) ); SOURCE(12376, 59) if ( ( ((* (( (ptr) child←v22116)+38) ) != 0) ? (0 == (* (( (ptr) formal←c26132)+5) )) : 0 ) ) { SOURCE(12429, 6) return(stop←v22216); }; SOURCE(12437, 56) if (((* (( (ptr) child←v22116)+10) ) == 3)) { SOURCE(12469, 24) (* (( (ptr) child←v22116)+10) ) = 0; }; SOURCE(12495, 23) { word idx111; word limit112; (* (( (W7Pt) (( (ptr) (* (( (ptr) formal←c26132)+8) ))+1))+( idx111 = (* (( (ptr) formal←c26132)+11) ), limit112 = (* (ptr) (* (( (ptr) formal←c26132)+8) ) ), BCK(idx111, limit112) )) ).f0 = child←v22116; }; SOURCE(12520, 35) { word idx113; word limit114; (* (( (W7Pt) (( (ptr) (* (( (ptr) formal←c26132)+8) ))+1))+( idx113 = (* (( (ptr) formal←c26132)+11) ), limit114 = (* (ptr) (* (( (ptr) formal←c26132)+8) ) ), BCK(idx113, limit114) )) ).f6 = (* (( (ptr) child←v22116)+10) ); }; SOURCE(12557, 656) if (((* (( (ptr) child←v22116)+10) ) == 0)) { SOURCE(12590, 52) if ((0 != (word) Varying←P1320(child←v22116))) { SOURCE(12613, 29) (* (( (ptr) formal←c26132)+12) ) = ((* (( (ptr) formal←c26132)+12) ) + 1); }; SOURCE(12644, 91) { word pd115; pd115 = (* (( (ptr) (* (( (ptr) gf←c26100)+72)/* var←c23508 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd115 ))))((word) &g←v8480, child←v22116, 0, (* (W5Pt) (( (ptr) child←v22116)+39) ), 27, pd115) ; }; SOURCE(12737, 11) (* (W2Pt) &g←v8480 ) = (* (W2Pt) (( (ptr) formal←c26132)+14) ); SOURCE(12750, 41) if (( (int)g←v8480.f4 < (int)0)) { SOURCE(12774, 17) g←v8480.f4 = 0; }; SOURCE(12833, 59) g←v8480.f3 = ((* (( (ptr) (* (( (ptr) formal←c26132)+4) ))+42) ) - IOP2( * , (int)g←v8480.f4, (int)2)); SOURCE(12897, 62) if (( (int)(* (( (ptr) formal←c26132)+9) ) > (int)0)) { SOURCE(12913, 46) { word x116; g←v8480.f2 = (x116 = ((* (( (ptr) formal←c26132)+9) ) - IOP2( * , (int)g←v8480.f4, (int)2)), MAX((int)(word), 1, x116)); }; }; SOURCE(12961, 41) if (( (int)g←v8480.f2 <= (int)0)) { SOURCE(12985, 17) g←v8480.f2 = 40; }; SOURCE(13004, 42) if (( (int)g←v8480.f3 <= (int)0)) { SOURCE(13029, 17) g←v8480.f3 = 1; }; SOURCE(13048, 114) if ( ( (child←v22116 == (* (( (ptr) formal←c26132)+13) )) ? ( (int)(* (( (ptr) formal←c26132)+12) ) == (int)0) : 0 ) ) { SOURCE(13093, 69) { word x117; g←v8480.f2 = (x117 = (((* (( (ptr) (* (( (ptr) formal←c26132)+4) ))+41) ) - (* (( (ptr) formal←c26132)+14) )) - IOP2( * , (int)g←v8480.f4, (int)2) ), MAX((int)(word), x117, 1)); }; }; SOURCE(13167, 46) (* (( (ptr) formal←c26132)+14) ) = (((* (( (ptr) formal←c26132)+14) ) + g←v8480.f2) + IOP2( * , (int)2, (int)g←v8480.f4) ); }; SOURCE(13218, 15) { word idx118; word limit119; (* (W5Pt) (( (ptr) (( (W7Pt) (( (ptr) (* (( (ptr) formal←c26132)+8) ))+1))+( idx118 = (* (( (ptr) formal←c26132)+11) ), limit119 = (* (ptr) (* (( (ptr) formal←c26132)+8) ) ), BCK(idx118, limit119) )))+1) ) = g←v8480; }; SOURCE(13235, 30) { word x120; word x121; (* (( (ptr) formal←c26132)+11) ) = (x120 = (* (( (ptr) formal←c26132)+10) ), x121 = ((* (( (ptr) formal←c26132)+11) ) + 1), MIN((int)(word), x120, x121)); }; SOURCE(12293, 972) return(stop←v22216); } static void ContSizingLR←P1440(widget←v6284, formal←c0332) word widget←v6284; word formal←c0332; { W7 var←c26164; /* declaration of reConsiderChildren←v6312 skipped */ register ptr gf←c26196 = (ptr) &globalframe; /* declaration of var←c24628 skipped */ W2 pos←v8524; var←c26164.f4/* reConsiderChildren←v6312 */ = formal←c0332; /* ContSizingLR: */ SOURCE(14502, 712) { word tmpAddr122; tmpAddr122 = (word) (( (ptr) &var←c26164)+5)/* var←c24628 */ ; (* (ptr) tmpAddr122 ) = ( ((word) (fPt) EachChild←P2604) ); (* (( (ptr) tmpAddr122) + 1) ) = 1; }; SOURCE(14568, 22) pos←v8524.f0 = 0; pos←v8524.f1 = 0; SOURCE(15069, 87) if ((0 != var←c26164.f4/* reConsiderChildren←v6312 */ )) { SOURCE(15096, 60) { word pd123; pd123 = (* (( (ptr) (* (( (ptr) gf←c26196)+73)/* var←c23860 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd123 ))))(widget←v6284, 0, 0, pd123); }; }; SOURCE(15158, 56) { word pd124; pd124 = (* (( (ptr) (* (( (ptr) gf←c26196)+71)/* var←c23476 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd124 ))))(widget←v6284, (word) (( (bPt) &var←c26164)+20)/* var←c24628 */ , 0, pd124); }; } static word EachChild←P2604(collection←v22276, child←v22304, data←v22332, idx←v22360, formal←c26260) word collection←v22276; word child←v22304; word data←v22332; word idx←v22360; word formal←c26260; { register ptr gf←c26228 = (ptr) &globalframe; word stop←v22404; W5 g←v8596; formal←c26260 = (formal←c26260 - 20); /* EachChild: */ SOURCE(14593, 471) SOURCE(14593, 471) stop←v22404 = 0; SOURCE(14637, 19) g←v8596.f0 = 2147483648; g←v8596.f1 = 2147483648; g←v8596.f2 = 2147483648; g←v8596.f3 = 2147483648; g←v8596.f4 = 2147483648; SOURCE(14658, 79) if ( ( ((* (( (ptr) child←v22304)+38) ) != 0) ? (0 == (* (( (ptr) formal←c26260)+4) )) : 0 ) ) { SOURCE(14731, 6) return(stop←v22404); }; SOURCE(14739, 251) if (((* (( (ptr) child←v22304)+10) ) == 0)) { SOURCE(14773, 88) { word pd125; pd125 = (* (( (ptr) (* (( (ptr) gf←c26228)+72)/* var←c23508 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd125 ))))((word) &g←v8596, child←v22304, 0, (* (W5Pt) (( (ptr) child←v22304)+39) ), 0, pd125) ; }; SOURCE(14863, 40) if (( (int)g←v8596.f2 <= (int)0)) { SOURCE(14887, 16) g←v8596.f2 = 1; }; SOURCE(14905, 42) if (( (int)g←v8596.f3 <= (int)0)) { SOURCE(14930, 17) g←v8596.f3 = 1; }; SOURCE(14949, 41) if (( (int)g←v8596.f4 < (int)0)) { SOURCE(14973, 17) g←v8596.f4 = 0; }; }; SOURCE(14995, 69) { word pd126; pd126 = (* (( (ptr) (* (( (ptr) gf←c26228)+72)/* var←c23508 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd126 ))))(child←v22304, g←v8596, (* (( (ptr) child←v22304)+10) ), (* (( (ptr) formal←c26260)+4) ), pd126); }; SOURCE(14593, 471) return(stop←v22404); } /* file: XTkContainersImpl, module: XTkContainersImpl, compiled at: May 11, 1993 11:51:25 am PDT */ extern void XR←install←XTkContainersImpl() { NoName←Q2940(); } extern void XR←run←XTkContainersImpl() { XR←Start(&globalframe); }