AmendHub

Download:

cyberslak

/

lightsout

/

amendments

/

11

LightsOut.r: add various resources


cyberslak made amendment 11 25 days ago
--- LightsOut.r Fri Mar 7 15:26:27 2025 +++ LightsOut.r Sun Mar 9 23:48:48 2025 @@ -1,7 +1,9 @@ +// Generated by GenerateR #include "Types.r" +#include "SysTypes.r" resource 'ALRT' (128) { - {142, 166, 242, 466}, + {122, 102, 222, 402}, 128, { /* array: 4 elements */ /* [1] */ @@ -50,6 +52,65 @@ resource 'DITL' (129) { } }; +resource 'DITL' (130) { + { /* array DITLarray: 9 elements */ + /* [1] */ + {105, 295, 125, 350}, + Button { + enabled, + "Save" + }, + /* [2] */ + {105, 228, 125, 285}, + Button { + enabled, + "Cancel" + }, + /* [3] */ + {8, 134, 24, 226}, + StaticText { + disabled, + "Configuration" + }, + /* [4] */ + {40, 10, 56, 112}, + StaticText { + disabled, + "Server address" + }, + /* [5] */ + {40, 122, 56, 250}, + EditText { + disabled, + "" + }, + /* [6] */ + {40, 261, 56, 293}, + StaticText { + disabled, + "Port" + }, + /* [7] */ + {40, 303, 56, 347}, + EditText { + disabled, + "" + }, + /* [8] */ + {70, 10, 86, 108}, + StaticText { + disabled, + "Access token" + }, + /* [9] */ + {70, 122, 86, 347}, + EditText { + disabled, + "" + } + } +}; + resource 'WIND' (128) { {80, 150, 230, 450}, 1985, @@ -83,7 +144,7 @@ resource 'MENU' (129) { "File", { /* array: 3 elements */ /* [1] */ - "Perform Action", noIcon, "S", noMark, plain, + "Add Entity...", noIcon, "A", noMark, plain, /* [2] */ "-", noIcon, noKey, noMark, plain, /* [3] */ @@ -91,12 +152,30 @@ resource 'MENU' (129) { } }; +resource 'MENU' (130) { + 130, + textMenuProc, + allEnabled, + enabled, + "Edit", + { /* array: 3 elements */ + /* [1] */ + "Cut", noIcon, "X", noMark, plain, + /* [2] */ + "Copy", noIcon, "C", noMark, plain, + /* [3] */ + "Paste", noIcon, "V", noMark, plain + } +}; + resource 'MBAR' (128) { - { /* array MenuArray: 2 elements */ + { /* array MenuArray: 3 elements */ /* [1] */ 128, /* [2] */ - 129 + 129, + /* [3] */ + 130 } }; @@ -320,5 +399,22 @@ resource 'DLOG' (128) { 129, "Entities" /****** Extra bytes follow... ******/ + /* $"7428 0A" /* t(. */ +}; + +resource 'DLOG' (129) { + {71, 63, 206, 423}, + altDBoxProc, + visible, + goAway, + 0x0, + 130, + "" + /****** Extra bytes follow... ******/ /* $"0028 0A" /* .(. */ -}; +}; + +data 'LDEF' (128, "Entity LDEF hook") { + $"2F3A 0004 4E75 0000 0000" /* /:..Nu.... */ +}; +