Logo Search packages:      
Sourcecode: wims version File versions  Download package

void rene::gui::MultipleIcon::dopaint ( Graphics  g  )  [inline, inherited]

Paint a button with an image

Reimplemented from rene::gui::BasicIcon.

Reimplemented in rene::gui::ColorIcon, and rene::gui::MultipleStringIcon.

Definition at line 449 of file IconBar.java.

      {     if (I[Selected]!=null)
            {     if (W[Selected]>getSize().width) g.drawImage(I[Selected],1,1,Size-2,Size-2,this);
                  else g.drawImage(I[Selected],X[Selected],Y[Selected],this);
            }
      }


Generated by  Doxygen 1.6.0   Back to index