MESSAGE(JobNumberL), MESSAGE(TimeL), MESSAGE(DateL));
bottom_label[1] = StringCreate(label);
+ XtArgVal arg;
Dimension highlight;
XtVaGetValues(parent->BaseWidget(),
- XmNhighlightThickness, &highlight, NULL);
+ XmNhighlightThickness, &arg, NULL);
+ highlight = (Dimension)arg;
int height = 21 + 2 * highlight;
blank_pixmap = XCreatePixmap(display, root, 1, height, depth);
blank_mask = XCreatePixmap(display, root, 1, height, 1);
XmString top_string = StringCreate(MESSAGE(Position1L));
XmString label_string = StringCreate(MESSAGE(JobNameL));
Widget p = XtParent(parent->BaseWidget());
- Pixel bg;
+ XtArgVal bg;
XtVaGetValues(p, XmNbackground, &bg, NULL);
_w = XtVaCreateManagedWidget("DtDetailsLabel", iconWidgetClass, p,
GuiNsuperNode, parent->BaseWidget(),
Dimension height, width;
unsigned int w, h, junk;
+ Window junkwin;
XtVaGetValues(icon->BaseWidget(), XmNbackground, &bg, XmNforeground, &fg,
GuiNselectColor, &selectColor, XmNalignment, &alignment,
icon->GetPixmaps(icon->BaseWidget(), iconFile, &tmp_pixmap, &tmp_mask);
if (tmp_pixmap && tmp_pixmap != XmUNSPECIFIED_PIXMAP)
{
- XGetGeometry(icon->display, tmp_pixmap, (Window *) &junk,
+ XGetGeometry(icon->display, tmp_pixmap, &junkwin,
(int *) &junk, (int *) &junk, &w, &h, &junk, &junk);
p_w = w;
p_h = h;
},
{
/* icon_class record */
- (int) NULL, /* extension */
+ 0, /* extension */
}
};
)
{
unsigned int width, height, junk;
+ Window junkwin;
int x, y;
Boolean show_fields = False;
Dimension _width;
{
if (Pixmap(w) != XmUNSPECIFIED_PIXMAP)
{
- XGetGeometry(XtDisplay(w), Pixmap(w), (Window *) &junk,
+ XGetGeometry(XtDisplay(w), Pixmap(w), &junkwin,
(int *) &junk, (int *) &junk, &width, &height, &junk, &junk);
PixmapWidth(w) = (Dimension) width;
PixmapHeight(w) = (Dimension) height;
{
Dimension x_offset, y_offset;
- XGetGeometry(XtDisplay(w), StatePixmap(w), (Window *) &junk,
+ XGetGeometry(XtDisplay(w), StatePixmap(w), &junkwin,
(int *) &junk, (int *) &junk, &width, &height, &junk, &junk);
StatePixmapWidth(w) = (Dimension) width;
StatePixmapHeight(w) = (Dimension) height;