Short: Helpful Commodity for Blitz Programmers Author: Victor Bell Uploader: zalda@home4968.freeserve.co.uk Version: 2.0 Type: dev/basic Requires: Workbench 3.0 (possibly 2.04 - not tested) Distribution: freely-distributable DESCRIPTION Ever find yourself typing "Window" and getting to the 'flags' bit, and wanted a quick way to remind you what the flags are? Simply hot-key this commodity, and a window will appear, with a list of buttons - click on the relevant button for useful information. Currently the main window will look like this: Quit | Hide Screen Flags Screen Tags Window Flags Window Tags IDCMP Flags Gadget Flags Gadget Tags Type Sizes InitCoplist Flags Interrupt Types Req Flags RawKeys Test Keys ;displays info on any key-presses you do $# Commands CX Events Menu Item Flags Printer Stuff Joystick/Joypad Guru Meditations Misc Stuff I've included the source code so that you can add/amend topics. One note about the source - the gadgets are created and deleted each time you call Flags, instead of just attaching/detaching them from the window - this is to do with the fact that it needs to find a screen first - and can only be called on that screen if the gtlist is attached/detached - whereas it can be called on any public screen this way. Read the guide though. If you want a better explanation of how to create commodities using RICommoditiesLib - read the RICommoditiesLib.doc in the userlibs/userlibsdocs drawer of Blitz. I intend to redo this program, using NCommandSet, by AlphaSound, as there seems to be a slight problem concerning memory with RICommoditiesLib - I will replace this version when I've done it. Hope you find this commodity useful. VICTOR BELL 30/05/99 ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2228 226 89.8% 30-May-99 20:08:18 Flags.info 1812 995 45.0% 30-May-99 18:54:34 Flags.readme 46100 24657 46.5% 30-May-99 20:06:04 +Flags 9478 3614 61.8% 30-May-99 19:01:58 +Flags.guide 1430 228 84.0% 02-Feb-99 12:02:18 +Flags.guide.info 1872 413 77.9% 02-Feb-99 12:02:18 +Flags.info 2228 227 89.8% 30-May-99 20:09:28 +Source.info 18034 6995 61.2% 30-May-99 20:05:44 +Flags.asc -------- ------- ----- --------- -------- 83182 37355 55.0% 08-Jun-99 23:25:12 8 files