LOOX Widgets integration ------------------------ This directory contains the files required to integrate the LOOX widget set into WorkShop Visual 6.0 Files contained in this directory are as follows: README - These notes. Makefile - creates visu binary with Loox widgets integrated. Loox.xdc - visu_config configuration file for Loox widgets. Loox_stubs.c - additional code for the Loox widget integration. bitmaps/ - bitmap and pixmap files to represent Loox widgets on WorkShop Visual widget palette. app-defaults/ - Resources for integration. make_templates/ - Makefile templates for building generated Loox applications. Integrating Loox widgets with WorkShop Visual ----------------------------------------- 1. Start visu_config and use the File/Open menu option to load the Loox.xdc file. The following family will be listed: Loox 2. Select the 'Config file' option from the Generate menu. The Generate dialog contains a toggle button for each family. Select one or more of these families depending on the combination of widgets that are to be integrated into WorkShop Visual. Click on OK to generate the Loox_config.c file. Repeat this procedure for the 'Code file' menu option to generate Loox_code.c. 3. Ensure that the environment variable LOOXDIR is set to the directory containing your Loox release. Build the WorkShop Visual binary using the following command: make After the build has successfully completed a 'visu.bin' executable incorporating the Loox widgets will have been created in the current directory. 4. This binary may be invoked by setting the environment variable USER_WIDGETS to the name of this directory (i.e. USER_WIDGETS=LOOX) and invoking WorkShop Visual as normal. 5. This widget integration can be made the default for your site by moving or copying this directory to 'local' (including any bitmap and app-defaults sub-directories). Using the Loox editor from within WorkShop Visual -------------------------------------------- The LOOXMaker editor can be launched from within WorkShop Visual using the graphEditor resource of the DrawingManager widget. This resource is available in the Settings page of the Resource Panel for the DrawingManager widget. To launch LOOXMaker set the graphEditor resource to Yes and click on the Apply button. (Please note that the loox binary must be in the executable path.) If a value has been specified for the graphFileName resource (Display page) this file will be automatically loaded into LOOXMaker. Upon exiting LOOXMaker if a value has been specified for graphFileName this file is reloaded into the DrawingManager widget, so any updates are immediately visible in the interface being developed.