4.5 landing. Better drawing during printing and making the "inherited" typedefs private.

This commit is contained in:
pinkerton%netscape.com 1998-08-25 20:27:38 +00:00
Родитель 440e2ee32b
Коммит 92292c6ae7
2 изменённых файлов: 23 добавлений и 12 удалений

Просмотреть файл

@ -1175,9 +1175,18 @@ void CFormList::DrawElement (const short lMessage,
break ;
case lHiliteMsg :
LMSetHiliteMode( 0 );
::InvertRect (lRect) ;
break ;
if (fContext->type != MWContextPrint)
{
LMSetHiliteMode( 0 );
::InvertRect (lRect);
}
else
{
Rect cellRect = *lRect;
cellRect.bottom ++;
::FrameRect(&cellRect); // InvertRect does not seem to work when printing
}
break;
}
}

Просмотреть файл

@ -450,12 +450,13 @@ protected:
* Also resizes itself to fit the width of the title
****************************************************************************/
class CGAFormPushButton : public LGAPushButton, public LFormElement, public CLayerClickCallbackMixin {
class CGAFormPushButton : public LGAPushButton, public LFormElement, public CLayerClickCallbackMixin
{
private:
typedef LGAPushButton super;
public:
enum { class_ID = 'Gfpb' };
typedef LGAPushButton super;
// ¥¥ Constructors/destructors
@ -556,11 +557,11 @@ protected:
****************************************************************************/
class CGAFormRadio: public LGARadioButton, public LFormElement, public CLayerClickCallbackMixin
{
public:
enum { class_ID = 'Gfrb' };
private:
typedef LGARadioButton super;
public:
enum { class_ID = 'Gfrb' };
CGAFormRadio(LStream* inStream);
@ -618,11 +619,12 @@ protected:
****************************************************************************/
class CGAFormCheckbox: public LGACheckbox, public LFormElement, public CLayerClickCallbackMixin
{
private:
typedef LGACheckbox super;
public:
enum { class_ID = 'Gfcb' };
typedef LGACheckbox super;
CGAFormCheckbox(LStream* inStream);
virtual Boolean TrackHotSpot(