Follow-up Comment #9, bug #22278 (project gnustep):

It seems to me that the correct behaviour would be to:
- handle the different button styles, in that they have to be recognised by
the nib loading mechanism and by -gui (that's the case at the moment), and
their drawing delegated to the proper UI theme method 
- in the theme code, have different methods for the different styles that a
theme can implements. By default all style simply call the square button theme
method (with the appropriate margin difference as iirc there is a margin with
NSRoundedBezelStyle buttons while there is no margin with
NSRegularSquareBezelStyle buttons)
- for the NeXT theme, there is NO rounded button. Therefore I think it would
make more sense to, basically, discard the rounded buttons and draw them
square, using the method exposed above. Other themes may or may not implement
a different look between square buttons and rounded buttons. 

Make sense ?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22278>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to