зеркало из https://github.com/mozilla/gecko-dev.git
Make the demo widget buildable
This commit is contained in:
Родитель
e2f3546c87
Коммит
407097c63c
|
@ -135,16 +135,6 @@ static XtResource resources[] =
|
|||
(XtPointer) _XfeCallProcCopyForeground
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
XmNseparatorHeight,
|
||||
XmCSeparatorHeight,
|
||||
XmRVerticalDimension,
|
||||
sizeof(Dimension),
|
||||
XtOffsetOf(XfeTempTwoRec , xfe_temp_two . separator_height),
|
||||
XmRImmediate,
|
||||
(XtPointer) 4
|
||||
},
|
||||
{
|
||||
XmNseparatorThickness,
|
||||
XmCSeparatorThickness,
|
||||
|
@ -163,15 +153,6 @@ static XtResource resources[] =
|
|||
XmRImmediate,
|
||||
(XtPointer) XmSHADOW_ETCHED_IN
|
||||
},
|
||||
{
|
||||
XmNseparatorWidth,
|
||||
XmCSeparatorWidth,
|
||||
XmRHorizontalDimension,
|
||||
sizeof(Dimension),
|
||||
XtOffsetOf(XfeTempTwoRec , xfe_temp_two . separator_width),
|
||||
XmRImmediate,
|
||||
(XtPointer) 4
|
||||
},
|
||||
{
|
||||
XmNspacing,
|
||||
XmCSpacing,
|
||||
|
@ -298,20 +279,6 @@ static XmSyntheticResource synthetic_resources[] =
|
|||
_XmFromHorizontalPixels,
|
||||
_XmToHorizontalPixels
|
||||
},
|
||||
{
|
||||
XmNseparatorHeight,
|
||||
sizeof(Dimension),
|
||||
XtOffsetOf(XfeTempTwoRec , xfe_temp_two . separator_height),
|
||||
_XmFromVerticalPixels,
|
||||
_XmToVerticalPixels
|
||||
},
|
||||
{
|
||||
XmNseparatorWidth,
|
||||
sizeof(Dimension),
|
||||
XtOffsetOf(XfeTempTwoRec , xfe_temp_two . separator_width),
|
||||
_XmFromHorizontalPixels,
|
||||
_XmToHorizontalPixels
|
||||
},
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
@ -460,8 +427,8 @@ _XFE_WIDGET_CLASS_RECORD(temptwo,TempTwo) =
|
|||
|
||||
/* Constraint Part */
|
||||
{
|
||||
constraint_resources, /* syn resources */
|
||||
XtNumber(constraint_resources), /* num syn_resources */
|
||||
constraint_resources, /* constraint res */
|
||||
XtNumber(constraint_resources), /* num constraint res */
|
||||
sizeof(XfeTempTwoConstraintRec), /* constraint size */
|
||||
ConstraintInitialize, /* init proc */
|
||||
ConstraintDestroy, /* destroy proc */
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#ifndef _XfeTempTwo_h_ /* start TempTwo.h */
|
||||
#define _XfeTempTwo_h_
|
||||
|
||||
#include <Xfe/Xfe.h>
|
||||
#include <Xfe/Manager.h>
|
||||
|
||||
#ifdef __cplusplus /* start C++ */
|
||||
|
|
|
@ -81,10 +81,8 @@ typedef struct _XfeTempTwoPart
|
|||
|
||||
Dimension spacing; /* Spacing */
|
||||
|
||||
Dimension separator_height; /* Separator height */
|
||||
int separator_thickness; /* Separator thickness */
|
||||
unsigned char separator_type; /* Separator type */
|
||||
Dimension separator_width; /* Separator width */
|
||||
|
||||
unsigned char orientation; /* Orientation */
|
||||
unsigned char button_layout; /* Button layout */
|
||||
|
|
Загрузка…
Ссылка в новой задаче