Page 183 - PDA Robotics Using Your Personal Digital Assistant to Control Your Robot
P. 183
PDA 08 5/27/03 8:47 AM Page 159
Chapter 8 / PDA Robot Palm OS Software Using Code Warrior 8.0
resources viewable in a dialog. From here, we will create the buttons
and labels that will make the graphical user interface (GUI) for
PDARobot.prc.
Double click Main under Forms to bring up the main dialog, allowing
us to place the buttons and labels, after which we can assign the IDs
needed for tracking in the event loop of main.c (see Figures 8.6 and
8.7).
Clicking Window/Catalog will bring up the catalog window that con-
tains the controls to be placed on the form (see Figure 8.8).
Figure 8.9 shows the form with the buttons and labels in place. The
IDs and captions have been assigned to each. I made the Object
Figure 8.6
Portion of the
constructor menu.
Figure 8.7
Clean palette where
the controls will be
placed.
159