Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 302] New - SelectionButtons hit/paint methods misnamed & undocumented

gef
Discussion topic

Back to topic list

[Issue 302] New - SelectionButtons hit/paint methods misnamed & undocumented

Reply

Author tfmorris
Full name Tom Morris
Date 2007-05-26 11:28:38 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=302
                 Issue #|302
                 Summary|SelectionButtons hit/paint methods misnamed & undocume
                        |nted
               Component|gef
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|core
             Assigned to|issues@gef
             Reported by|tfmorris






------- Additional comments from tfmorris at tigris dot org Sat May 26 11:28:38 -0700 2007 -------
The hit* and paint* methods in SelectionButtons are either undocumented or
misdocumented and the *right and *left methods behavior backwards from the way
one would expect based on their names. The methods paintButtonLeft() and
hitLeft() operate on the right hand side of the figure while paintButtonRight
and hitRight() operate on the left side of the figure.

Needless to say this is incredibly confusing to consumers of this API.

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 302] New - SelectionButtons hit/paint methods misnamed & undocumented tfmorris Tom Morris 2007-05-26 11:28:38 PDT
Messages per page: