зеркало из https://github.com/mozilla/gecko-dev.git
4.5 landing. Better drawing during printing and making the "inherited" typedefs private.
This commit is contained in:
Родитель
440e2ee32b
Коммит
92292c6ae7
|
@ -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(
|
||||
|
|
Загрузка…
Ссылка в новой задаче