[Kst] extragear/graphics/kst/kst
Andrew Walker
arwalker at sumusltd.com
Tue Dec 20 00:21:16 CET 2005
SVN commit 489858 by arwalker:
switch order of x/y scale mode so that it is more easily anticipated
M +4 -4 kst2dplot.cpp
M +1 -1 kst2dplot.h
--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #489857:489858
@@ -134,7 +134,7 @@
_xReversed = false;
_yReversed = false;
- commonConstructor(in_tag, yscale_in, xscale_in, xmin_in, ymin_in,
+ commonConstructor(in_tag, xscale_in, yscale_in, xmin_in, ymin_in,
xmax_in, ymax_in);
}
@@ -356,7 +356,7 @@
_yScaleModeDefault = AUTOBORDER;
}
- commonConstructor(tagName(), yscale_in, xscale_in, xmin_in, ymin_in,
+ commonConstructor(tagName(), xscale_in, yscale_in, xmin_in, ymin_in,
xmax_in, ymax_in, x_log, y_log);
if (!topLabelNode.isNull()) {
@@ -424,8 +424,8 @@
}
commonConstructor(plotName,
+ plot._xScaleMode,
plot._yScaleMode,
- plot._xScaleMode,
plot.XMin,
plot.YMin,
plot.XMax,
@@ -498,8 +498,8 @@
void Kst2DPlot::commonConstructor(const QString &in_tag,
+ KstScaleModeType xscale_in,
KstScaleModeType yscale_in,
- KstScaleModeType xscale_in,
double xmin_in,
double ymin_in,
double xmax_in,
--- trunk/extragear/graphics/kst/kst/kst2dplot.h #489857:489858
@@ -418,8 +418,8 @@
void setCursorForMode(QWidget *view); // gets the mode from the mouse
void zoomRectUpdate(QWidget *view, KstMouseModeType t, int x, int y);
inline void commonConstructor(const QString& in_tag,
+ KstScaleModeType xscale,
KstScaleModeType yscale,
- KstScaleModeType xscale,
double xmin,
double ymin,
double xmax,
More information about the Kst
mailing list