Page 397 -
P. 397

confusing interface


          The DJ is confused


           The program does exactly what the DJ wants, right? Well, not quite.





                                             How am I supposed to
                                             know which volume scale
                                             is for which track?





           The problem is that even though the program technically works, it has
           a confusing interface. All of the checkboxes are added on the left of
           the interface, and all of the volume controls are on the right.
           There’s nothing in the interface that indicates which volume scale
           goes with which track.














                                                                Track #1 or track #2?
                                                                                          Track #2 or track #1?

           The checkboxes are labeled with the filename of the track, but the
           volume sliders aren’t. Even though each volume slider is linked to a
           single track, there is nothing in the interface that tells the user which
           track that is.

           So... what to do? You could just add labels to each volume slider.
           That would probably fix it, but adding more widgets, like labels, can
           make an interface more complex. And you want your interfaces (and
           your GUI code) to be simple and clean.
           Fortunately, there is a way of rearranging the widgets in the interface
           to make it a lot clearer.

                                                T o avoid confusion,
                                                the GUI needs to look
                                                 something like this.

           362    Chapter 10
   392   393   394   395   396   397   398   399   400   401   402