Lines Matching refs:pushbutton
374 color[7].pixel = eb->pushbutton.arm_color; in set_pixmap()
440 if (eb->pushbutton.fill_on_arm) in set_pixmap()
441 XSetForeground(dpy, gc, eb->pushbutton.arm_color); in set_pixmap()
524 if (!etched_in ^ eb->pushbutton.armed) in draw_shadows()
599 if (!eb->pushbutton.armed && eb->primitive.shadow_thickness) in draw_unhighlight()
631 if (eb->primitive.highlighted && !eb->pushbutton.armed) in draw_pixmap()
633 else if (eb->pushbutton.armed) in draw_pixmap()
683 if (eb->pushbutton.armed in draw_label()
684 && ((!Lab_IsMenupane(eb) && eb->pushbutton.fill_on_arm) in draw_label()
688 && eb->pushbutton.arm_color == eb->primitive.foreground) in draw_label()
691 eb->label.normal_GC = eb->pushbutton.background_gc; in draw_label()
703 if (eb->pushbutton.armed) in draw_label()
705 if (eb->pushbutton.arm_pixmap != XmUNSPECIFIED_PIXMAP) in draw_label()
706 eb->label.pixmap = eb->pushbutton.arm_pixmap; in draw_label()
708 eb->label.pixmap = eb->pushbutton.unarm_pixmap; in draw_label()
712 eb->label.pixmap = eb->pushbutton.unarm_pixmap; in draw_label()
719 if (eb->pushbutton.default_button_shadow_thickness > 0) in draw_label()
770 if (eb->pushbutton.armed) in Enter()
778 eb->pushbutton.armed = TRUE; in Enter()
786 eb->pushbutton.fill_gc, in Enter()
807 if (eb->pushbutton.arm_callback) in Enter()
814 eb->pushbutton.arm_callback, in Enter()
824 if (eb->pushbutton.armed == TRUE) in Enter()
857 && eb->pushbutton.armed in Leave()
861 eb->pushbutton.armed = FALSE; in Leave()
868 eb->pushbutton.background_gc, in Leave()
884 if (eb->pushbutton.disarm_callback) in Leave()
891 eb->pushbutton.disarm_callback, in Leave()
900 if (eb->pushbutton.armed == TRUE) in Leave()
903 eb->pushbutton.armed = FALSE; in Leave()
910 eb->pushbutton.armed = TRUE; in Leave()
1155 if (NOT_EQUAL(pushbutton.fill_on_arm)) in SetValues()
1212 if ((eb->pushbutton.arm_color == eb->primitive.top_shadow_color) in Redisplay()
1213 || (eb->pushbutton.arm_color == eb->primitive.bottom_shadow_color)) in Redisplay()
1216 if (eb->pushbutton.compatible) in Redisplay()
1217 adjust = eb->pushbutton.show_as_default; in Redisplay()
1219 adjust = eb->pushbutton.default_button_shadow_thickness; in Redisplay()
1247 if (eb->pushbutton.armed && eb->pushbutton.fill_on_arm) in Redisplay()
1251 if (eb->pushbutton.arm_pixmap != XmUNSPECIFIED_PIXMAP) in Redisplay()
1252 gc = eb->pushbutton.fill_gc; in Redisplay()
1254 gc = eb->pushbutton.background_gc; in Redisplay()
1257 gc = eb->pushbutton.fill_gc; in Redisplay()
1260 gc = eb->pushbutton.background_gc; in Redisplay()
1271 if (eb->pushbutton.armed) in Redisplay()
1290 (eb->pushbutton.default_button_shadow_thickness in Redisplay()
1343 if (eb->pushbutton.default_button_shadow_thickness) in Redisplay()
1345 if (eb->pushbutton.show_as_default) in Redisplay()
1364 if (eb->pushbutton.compatible in Redisplay()
1365 && (eb->pushbutton.show_as_default == 0)) in Redisplay()
1368 if (!eb->pushbutton.compatible in Redisplay()
1369 && (eb->pushbutton.default_button_shadow_thickness in Redisplay()
1396 if (eb->pushbutton.compatible) in Redisplay()
1398 eb->pushbutton.show_as_default; in Redisplay()
1401 eb->pushbutton.default_button_shadow_thickness; in Redisplay()