Lines Matching defs:ENGINE

69     private static final GTKEngine ENGINE = GTKEngine.INSTANCE;
118 if (! ENGINE.paintCachedImage(g, x, y, w, h, id,
121 ENGINE.startPainting(g, x, y, w, h, id, state, orientation);
122 ENGINE.paintBox(g, context, id, gtkState, ShadowType.OUT,
124 ENGINE.finishPainting();
135 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, orientation)) {
136 ENGINE.startPainting(g, x, y, w, h, id, orientation);
137 ENGINE.paintBox(g, context, id, SynthConstants.ENABLED,
139 ENGINE.finishPainting();
177 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
178 ENGINE.startPainting(g, x, y, w, h, id);
179 ENGINE.paintFlatBox(g, context, id,
182 ENGINE.finishPainting();
200 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
203 ENGINE.startPainting(g, x, y, w, h, id);
204 ENGINE.paintBox(g, context, id, gtkState,
206 ENGINE.finishPainting();
256 // Does not call into ENGINE for better performance
294 if (ENGINE.paintCachedImage(g, x, y, w, h, id, state, detail,
298 ENGINE.startPainting(g, x, y, w, h, id, state, detail,
309 ENGINE.paintBox(g, context, id, SynthConstants.ENABLED,
359 ENGINE.paintBox(g, context, id, gtkState,
376 ENGINE.paintFocus(g, context, id, gtkState, detail, x, y, w, h);
378 ENGINE.finishPainting();
423 if (ENGINE.paintCachedImage(g, x, y, w, h,
427 ENGINE.startPainting(g, x, y, w, h, gtkState, name, direction);
428 ENGINE.paintArrow(g, context, id, gtkState,
430 ENGINE.finishPainting();
468 if (ENGINE.paintCachedImage(g, x, y, w, h, id,
473 ENGINE.startPainting(g, x, y, w, h, id,
488 ENGINE.paintBox(g, context, id, spinState,
500 ENGINE.paintBox(g, context, id, gtkState,
504 ENGINE.finishPainting();
514 // Does not call into ENGINE for better performance
522 if (ENGINE.paintCachedImage(g, x, y, w, h, id)) {
531 ENGINE.startPainting(g, x, y, w, h, id);
532 ENGINE.paintBox(g, context, id, gtkState,
534 ENGINE.finishPainting();
556 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
559 ENGINE.startPainting(g, x, y, w, h, id);
560 ENGINE.paintBox(g, context, id, gtkState, shadow,
562 ENGINE.finishPainting();
576 if (ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, isHW)) {
579 ENGINE.startPainting(g, x, y, w, h, id, gtkState);
580 ENGINE.paintBox(g, context, id, gtkState,
585 ENGINE.paintBackground(g, context, id, gtkState,
589 BufferedImage img = ENGINE.finishPainting();
616 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
617 ENGINE.startPainting(g, x, y, w, h, id);
618 ENGINE.paintBox(g, context, id, SynthConstants.ENABLED,
620 ENGINE.finishPainting();
637 ENGINE.startPainting(g, x, y, w, h, id, "fg");
638 ENGINE.paintBox(g, context, id, SynthConstants.MOUSE_OVER,
640 ENGINE.finishPainting(false); // don't bother caching the image
648 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
649 ENGINE.startPainting(g, x, y, w, h, id);
650 ENGINE.paintShadow(g, context, id, SynthConstants.ENABLED,
652 ENGINE.finishPainting();
690 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, state,
692 ENGINE.startPainting(g, x, y, w, h, id, state,
694 ENGINE.paintBox(g, context, id, state,
696 ENGINE.finishPainting();
762 if (! ENGINE.paintCachedImage(g, x, y, w, h, id,
764 ENGINE.startPainting(g, x, y, w, h, id,
767 ENGINE.paintHline(g, context, id, state,
770 ENGINE.paintVline(g, context, id, state,
773 ENGINE.finishPainting();
826 ENGINE.startPainting(g, x, y, w, h, id, state, value);
828 ENGINE.setRangeValue(context, id, value, min, max, visible);
829 ENGINE.paintBox(g, context, id, gtkState, ShadowType.IN,
833 ENGINE.paintFocus(g, context, id, SynthConstants.ENABLED,
836 ENGINE.finishPainting(false); // don't bother caching the image
848 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, dir,
854 ENGINE.startPainting(g, x, y, w, h, id, gtkState, dir);
855 ENGINE.paintSlider(g, context, id, gtkState,
858 ENGINE.finishPainting();
886 if (! ENGINE.paintCachedImage(g, x, y, w, h,
888 ENGINE.startPainting(g, x, y, w, h, id, gtkState, orientation);
889 ENGINE.paintHandle(g, context, id, gtkState,
891 ENGINE.finishPainting();
930 if (! ENGINE.paintCachedImage(g, x, y, w, h,
932 ENGINE.startPainting(g, x, y, w, h,
934 ENGINE.paintBoxGap(g, context, id, gtkState, ShadowType.OUT,
936 ENGINE.finishPainting();
953 if (! ENGINE.paintCachedImage(g, x, y, w, h,
956 ENGINE.startPainting(g, x, y, w, h,
958 ENGINE.paintExtension(g, context, id, gtkState,
960 ENGINE.finishPainting();
986 // Does not call into ENGINE for better performance
1014 if (ENGINE.paintCachedImage(g, x, y, w, h, id, state)) {
1035 ENGINE.startPainting(g, x, y, w, h, id, state);
1037 ENGINE.paintBackground(g, context, id, gtkState, null,
1040 ENGINE.paintShadow(g, context, id, gtkState,
1043 ENGINE.paintFlatBox(g, context, id,
1071 ENGINE.paintFocus(g, context, id, gtkState,
1074 ENGINE.finishPainting();
1084 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState)) {
1085 ENGINE.startPainting(g, x, y, w, h, id, gtkState);
1086 ENGINE.paintFlatBox(g, context, id, gtkState, ShadowType.NONE,
1088 ENGINE.finishPainting();
1099 // Does not call into ENGINE for better performance
1131 if (ENGINE.paintCachedImage(g, x, y, w, h, id, focused)) {
1134 ENGINE.startPainting(g, x, y, w, h, id, focused);
1150 ENGINE.paintBox(g, context, id, SynthConstants.PRESSED,
1158 ENGINE.paintFocus(g, context, id,
1161 ENGINE.finishPainting();
1209 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState,
1212 ENGINE.startPainting(g, x, y, w, h, id, gtkState,
1216 ENGINE.setRangeValue(context, id, value, min, max, visible);
1217 ENGINE.paintSlider(g, context, id, gtkState, ShadowType.OUT,
1219 ENGINE.finishPainting();
1231 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
1232 ENGINE.startPainting(g, x, y, w, h, id);
1233 ENGINE.paintFlatBox(g, context, id, SynthConstants.ENABLED,
1236 ENGINE.finishPainting();
1251 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, state)) {
1252 ENGINE.startPainting(g, x, y, w, h, id, state);
1255 ENGINE.paintFlatBox(g, context, id, gtkState, ShadowType.NONE,
1257 ENGINE.finishPainting();
1275 // As far as I can tell, these don't call into the ENGINE.
1285 // As far as I can tell, these don't call into the ENGINE.
1286 // Also note that you don't want this to call into the ENGINE
1296 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, "focus")) {
1297 ENGINE.startPainting(g, x, y, w, h, id, gtkState, "focus");
1298 ENGINE.paintFocus(g, context, id, gtkState, detail, x, y, w, h);
1299 ENGINE.finishPainting();
1308 if (! ENGINE.paintCachedImage(
1310 ENGINE.startPainting(
1313 ENGINE.paintArrow(g, context, Region.INTERNAL_FRAME_TITLE_PANE,
1317 ENGINE.paintBox(g, context, Region.INTERNAL_FRAME_TITLE_PANE,
1321 ENGINE.paintVline(g, context, Region.INTERNAL_FRAME_TITLE_PANE,
1324 ENGINE.finishPainting();
1333 if (! ENGINE.paintCachedImage(g, x, y, w, h, state, paintMethod)) {
1334 ENGINE.startPainting(g, x, y, w, h, state, paintMethod);
1342 ENGINE.finishPainting();
1351 if (! ENGINE.paintCachedImage(g,
1353 ENGINE.startPainting(g,
1363 ENGINE.finishPainting();
1372 ENGINE.paintExpander(g, context, Region.TREE,
1379 ENGINE.paintExpander(g, context, Region.TREE,
1392 ENGINE.paintCheck(g, context, Region.CHECK_BOX, "checkbutton",
1404 ENGINE.paintOption(g, context, Region.RADIO_BUTTON, "radiobutton",
1421 ENGINE.paintArrow(g, context, Region.MENU_ITEM, gtkState, shadow,
1432 ENGINE.paintCheck(g, context, Region.CHECK_BOX_MENU_ITEM, "check",
1445 ENGINE.paintOption(g, context, Region.RADIO_BUTTON_MENU_ITEM, "option",
1464 ENGINE.paintHandle(g, context, Region.TOOL_BAR, gtkState,
1470 ENGINE.paintArrow(g, context, Region.TABLE, SynthConstants.ENABLED,
1476 ENGINE.paintArrow(g, context, Region.TABLE, SynthConstants.ENABLED,
1578 if (! ENGINE.paintCachedImage(g, x, y, w, h, id)) {
1579 ENGINE.startPainting(g, x, y, w, h, id);
1580 ENGINE.paintShadow(g, context, id, gtkState, ShadowType.ETCHED_IN,
1582 ENGINE.finishPainting();