[Igarden-commit] CommonSource/YAAFExtensions RGIconButton.cpp, 1.3, 1.3.2.1
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-17 21:01:08
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32003/YAAFExtensions Modified Files: Tag: Release_branch_v1 RGIconButton.cpp Log Message: Remove some obsolete code Index: RGIconButton.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGIconButton.cpp,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** RGIconButton.cpp 8 Sep 2004 01:08:09 -0000 1.3 --- RGIconButton.cpp 17 May 2008 21:01:11 -0000 1.3.2.1 *************** *** 87,137 **** /************************************************************************/ - #if OPT_MACOS - - #if 0 - $ XGIconButton::DoDrawView - / - / Handle the drawing - // - - void XGIconButton::DoDrawView(Rect) - { - Rect r; - - if (fControl) { - XGDraw draw(this,false); - if (fFont) { - fFont->AddRef(); - draw.SetFontObject(fFont); - } - - if (IsEnabled() && IsActive()) { - // - // Enabled - // - - ::HiliteControl(fControl,0); - } else { - ::HiliteControl(fControl,255); - } - ::ShowControl(fControl); - ::Draw1Control(fControl); - - if (fDefault) { - #if OPT_MACOS_CARBON - ::GetControlBounds(fControl,&r); - #else - r = (**fControl).contrlRect; - #endif - ::PenSize(3,3); - InsetRect(&r,-4,-4); - ::FrameRoundRect(&r,16,16); - } - } - } - - #endif - #endif - /*$ XGIconButton::DoMoveView * --- 87,90 ---- |