The only remaining thing to worry about is the button widths and heights, otherwise the zplugin code is exactly the same as any other zscript. When specifying widths it is best to use proportional values (for which 1 is full palette-width, .5 half palette-width and so on), rather than pixels. Not only does this simplify the arrangement of the buttons but with ZBrush 3.0 variable button widths have been introduced; using proportional widths ensures that your interface will look good whatever button width setting is used. Button heights can be left blank for the default.
c80f0f1006