VisualuRuby(tmp) Reference

VROwnerDrawButton

Coloring : swin class : vruby class

Class Hierarchy

Object
SWin::Window
VRWinComponent
VRControl
VRStdControl
VRButton
VROwnerDrawButton

Including Modules

none

Child classes or Classes/Modules including this

none

vr/vrowndraw.rb

VROwnerDrawButton

Owner draw button. This is just a button but the system doesn't draw button faces. It's necessary to draw button face manually.

Required methods

In these method, it doesn't need to call dopaint.

drawpushed(left,top,right,bottom,state)
Draws the pushed button face.
drawreleased(left,top,right,bottom,state)
Draws the released button face.
drawfocused(left,top,right,bottom,state)
Draws the focused button face. This method is fired after drawpushed or drawreleased.

VisualuRuby(tmp) Reference Index : Project HomePage(English) : Project HomePage(Japanese) : Sourceforge vruby page
Generated at Sun Feb 24 01:29:54 +0900 2008