|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ H T ┃
Length: 2156 (0x86c) Types: TextFile Names: »HelloWorld.h«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« └─⟦2109abc41⟧ └─ ⟦this⟧ »./X.V10R4/Toolkit/Xr/usr/contrib/HelloWorld/HelloWorld.h«
Window windowId; /* The window identifier for the main window */ /* * The declarations for the title bar and the info structure * needed to create the title bar. */ xrEditor * titleBar; xrTitleBarInfo titleBarInfo = { 0, /* windowId */ {0, 0, 0, 0}, /* editor rectangle */ XrVISIBLE | XrSENSITIVE, /* editor state */ -1, -1, /* editor colors - use defaults */ NULL, /* editor font - use defaults */ "Hello World", /* title name */ NULL, /* gadget 1 - unused */ NULL /* gadget 2 - unused */ }; /* * The declarations for the menu instance, items contained * in the menu, and the menu info structure. */ xrMenu * menu; INT8 * menuItems [9] = { "\\KEHHello Message", /* item with a keyboad equiv of ^N */ "\\KEGGoodbye Message", /* item with a keyboad equiv of ^M */ "\\=", /* double line seperator item */ "Quit" }; xrMenuInfo menuInfo = { "Hello World", /* Menu title bar string */ menuItems, /* item array declared above */ 4, /* item count */ NULL, /* menu context - unused */ 0 /* id returned with menu input */ }; /* * The declarations for the two message box info structures. */ INT8 * niceButton[1] = { "Oky Doky" }; xrMsgBoxInfo niceMsgInfo = { { 40, 45 }, /* message box origin */ NULL, /* relative to the RootWindow */ NULL, /* use default panel context */ 0, /* raster height */ 0, /* raster width */ 0, /* raster id */ "Hello World!", /* Text message */ niceButton, /* button strings */ 1 /* button count */ }; INT8 * meanButton[1] = { "Adios" }; xrMsgBoxInfo meanMsgInfo = { { 40, 45 }, /* message box origin */ NULL, /* relative to the RootWindow */ NULL, /* use default panel context */ 0, /* raster height */ 0, /* raster width */ 0, /* raster id */ "Goodbye World!", /* Text message */ meanButton, /* button strings */ 1 /* button count */ };