Figure 2.2: User interface: (1) variable window, (2) canvas window, (3) menu, (4) tool bar, (5) program window, (6) status bar.
When HDevelop is started for the first time it looks similar to figure 2.2. The main window offers a menu (3) and a tool bar (4) for quick access to frequently used functions. The status bar (6) at the bottom of the window displays messages and image properties. In addition, the following windows are available by default:
Program variables can be watched in this window. It displays all variables of the current procedure and their current values. Iconic variables are displayed as thumbnails, whereas control variables are displayed as text. The layout of this window can be switched between horizontal and vertical splitting by double-clicking the separator. See also Variable Window.
You can double-click iconic variables to display them in the active graphics window. Double-clicking control variables opens an inspection window with a nicely formatted list of the current values and statistical data. See also Inspecting Variables.
The canvas window is a container for graphics windows. At first startup of HDevelop, it contains one empty graphics window. Graphics windows are used to display iconic data like images, regions, and XLDs. See also Graphics Window. Each graphics window provides its own toolbar to adapt the image display to your needs, i.e., to choose between different zoom steps, for example. By default, the toolbar of graphics windows on the canvas is hidden. To display it, right-click in the canvas window and activate Show Graphics Window Toolbar.
The canvas window helps you to organize multiple graphics windows. You can arrange and resize the graphics windows on the canvas freely. For this, right-click in the canvas and activate Show Graphics Window Frame. Now you can drag the title bar of the graphics window to move it or drag the bottom right corner to resize the window. You can also detach the graphics windows from the canvas to display them floating. See also section “Canvas Window” and section “Canvas Options”.
This window displays the current program. It provides syntax highlighting with user-definable colors. The left column displays the program line numbers. The small black triangle is the insert cursor, which is where new program lines will be added. In the following, it is referred to as IC. The green arrow is the program counter which marks the next line to be executed. In the following, the program counter is referred to as PC. You can also add or remove breakpoints in the current program in this column. These will halt the program execution at user-defined places so that intermediate results may be examined. See also Program Window.
When adding new lines or modifying existing lines, advanced autocompletion features speed up typing and help keeping the program consistent. Program lines can also be modified by double-clicking them and editing them in the operator window.