comparison generator/typesystem_gui-java.java @ 402:e67ce7c21758

gdc & 64 bit changes
author Eldar Insafutdinov
date Thu, 17 Mar 2011 19:45:42 +0000
parents a032df77b6ab
children 4a943393a167
comparison
equal deleted inserted replaced
395:d757b8b1ca75 402:e67ce7c21758
1008 public final void setBrush(QPixmap pm) { 1008 public final void setBrush(QPixmap pm) {
1009 setBrush(new QBrush(pm)); 1009 setBrush(new QBrush(pm));
1010 } 1010 }
1011 1011
1012 public final void drawConvexPolygon(in QPoint[] points) { 1012 public final void drawConvexPolygon(in QPoint[] points) {
1013 qtd_QPainter_drawConvexPolygon_nativepointerQPoint_int(qtdNativeId, points.ptr, points.length); 1013 qtd_QPainter_drawConvexPolygon_nativepointerQPoint_int(qtdNativeId, points.ptr, cast(int)points.length);
1014 } 1014 }
1015 1015
1016 public final void drawConvexPolygon(in QPointF[] points) { 1016 public final void drawConvexPolygon(in QPointF[] points) {
1017 qtd_QPainter_drawConvexPolygon_nativepointerQPointF_int(qtdNativeId, points.ptr, points.length); 1017 qtd_QPainter_drawConvexPolygon_nativepointerQPointF_int(qtdNativeId, points.ptr, cast(int)points.length);
1018 } 1018 }
1019 1019
1020 public final void drawLines(in QLine[] lines) { 1020 public final void drawLines(in QLine[] lines) {
1021 qtd_QPainter_drawLines_nativepointerQLine_int(qtdNativeId, lines.ptr, lines.length); 1021 qtd_QPainter_drawLines_nativepointerQLine_int(qtdNativeId, lines.ptr, cast(int)lines.length);
1022 } 1022 }
1023 1023
1024 public final void drawLines(in QLineF[] lines) { 1024 public final void drawLines(in QLineF[] lines) {
1025 qtd_QPainter_drawLines_nativepointerQLineF_int(qtdNativeId, lines.ptr, lines.length); 1025 qtd_QPainter_drawLines_nativepointerQLineF_int(qtdNativeId, lines.ptr, cast(int)lines.length);
1026 } 1026 }
1027 1027
1028 public final void drawPolygon(in QPoint[] points, Qt.FillRule fillRule = Qt.FillRule.OddEvenFill) { 1028 public final void drawPolygon(in QPoint[] points, Qt.FillRule fillRule = Qt.FillRule.OddEvenFill) {
1029 qtd_QPainter_drawPolygon_nativepointerQPoint_int_FillRule(qtdNativeId, points.ptr, points.length, fillRule); 1029 qtd_QPainter_drawPolygon_nativepointerQPoint_int_FillRule(qtdNativeId, points.ptr, cast(int)points.length, fillRule);
1030 } 1030 }
1031 1031
1032 public final void drawPolygon(in QPointF[] points, Qt.FillRule fillRule = Qt.FillRule.OddEvenFill) { 1032 public final void drawPolygon(in QPointF[] points, Qt.FillRule fillRule = Qt.FillRule.OddEvenFill) {
1033 qtd_QPainter_drawPolygon_nativepointerQPointF_int_FillRule(qtdNativeId, points.ptr, points.length, fillRule); 1033 qtd_QPainter_drawPolygon_nativepointerQPointF_int_FillRule(qtdNativeId, points.ptr, cast(int)points.length, fillRule);
1034 } 1034 }
1035 1035
1036 public final void drawPolyline(in QPoint[] points) { 1036 public final void drawPolyline(in QPoint[] points) {
1037 qtd_QPainter_drawPolyline_nativepointerQPoint_int(qtdNativeId, points.ptr, points.length); 1037 qtd_QPainter_drawPolyline_nativepointerQPoint_int(qtdNativeId, points.ptr, cast(int)points.length);
1038 } 1038 }
1039 1039
1040 public final void drawPolyline(in QPointF[] points) { 1040 public final void drawPolyline(in QPointF[] points) {
1041 qtd_QPainter_drawPolyline_nativepointerQPointF_int(qtdNativeId, points.ptr, points.length); 1041 qtd_QPainter_drawPolyline_nativepointerQPointF_int(qtdNativeId, points.ptr, cast(int)points.length);
1042 } 1042 }
1043 1043
1044 public final void drawPoints(in QPoint[] points) { 1044 public final void drawPoints(in QPoint[] points) {
1045 qtd_QPainter_drawPoints_nativepointerQPoint_int(qtdNativeId, points.ptr, points.length); 1045 qtd_QPainter_drawPoints_nativepointerQPoint_int(qtdNativeId, points.ptr, cast(int)points.length);
1046 } 1046 }
1047 1047
1048 public final void drawPoints(in QPointF[] points) { 1048 public final void drawPoints(in QPointF[] points) {
1049 qtd_QPainter_drawPoints_nativepointerQPointF_int(qtdNativeId, points.ptr, points.length); 1049 qtd_QPainter_drawPoints_nativepointerQPointF_int(qtdNativeId, points.ptr, cast(int)points.length);
1050 } 1050 }
1051 1051
1052 public final void drawRects(in QRect[] rects) { 1052 public final void drawRects(in QRect[] rects) {
1053 qtd_QPainter_drawRects_nativepointerQRect_int(qtdNativeId, rects.ptr, rects.length); 1053 qtd_QPainter_drawRects_nativepointerQRect_int(qtdNativeId, rects.ptr, cast(int)rects.length);
1054 } 1054 }
1055 1055
1056 public final void drawRects(in QRectF[] rects) { 1056 public final void drawRects(in QRectF[] rects) {
1057 qtd_QPainter_drawRects_nativepointerQRectF_int(qtdNativeId, rects.ptr, rects.length); 1057 qtd_QPainter_drawRects_nativepointerQRectF_int(qtdNativeId, rects.ptr, cast(int)rects.length);
1058 } 1058 }
1059 /* 1059 /*
1060 public static QPaintDeviceInterface redirected(QPaintDeviceInterface device, qt.core.QPoint offset) { 1060 public static QPaintDeviceInterface redirected(QPaintDeviceInterface device, qt.core.QPoint offset) {
1061 return redirected(device, offset == null ? null : offset.nativePointer()); 1061 return redirected(device, offset == null ? null : offset.nativePointer());
1062 } 1062 }
1079 this(string[] args) 1079 this(string[] args)
1080 { 1080 {
1081 // if (m_instance != null) 1081 // if (m_instance != null)
1082 // throw new RuntimeException("QCoreApplication can only be initialized once"); 1082 // throw new RuntimeException("QCoreApplication can only be initialized once");
1083 1083
1084 argc = args.length; 1084 argc = cast(int)args.length;
1085 argv = toStringzArray(args); 1085 argv = toStringzArray(args);
1086 this(&argc, argv); 1086 this(&argc, argv);
1087 1087
1088 // m_instance.aboutToQuit.connect(m_instance, "disposeOfMyself()"); 1088 // m_instance.aboutToQuit.connect(m_instance, "disposeOfMyself()");
1089 } 1089 }