Commit ea1a7bf0 authored by Johnny Jazeix's avatar Johnny Jazeix

Fix when invoking make clean and Makefile for plugins does not exist. Fix...

Fix when invoking make clean and Makefile for plugins does not exist. Fix horizontal stats diagram because it was not totally visible by the user. qtcolorpicker.h (and not hpp) for cmake. Add a little doc for explaining the configure script (need to be updated ^^) and some new features. Fix colorpicker compilation. Works with both cmake and configure script.
parent ac663377
......@@ -61,7 +61,7 @@ taudir="/usr"
tauincdir="$taudir/include"
taulibdir="$taudir/lib"
qtcolordir="../externals/qtcolorpicker/"
qtcolordir="../externals/qtcolorpicker"
qtcolorincdir="$qtcolordir/src"
qtcolorsrcdir="$qtcolordir/src"
......
......@@ -218,7 +218,7 @@ SET(QTCOLORPICKERDIR
SET(VITE_HDRS
${VITE_HDRS}
${QTCOLORPICKERDIR}/qtcolorpicker.hpp
${QTCOLORPICKERDIR}/qtcolorpicker.h
)
SET(VITE_SRCS
......
......@@ -69,7 +69,7 @@ public:
*/
DrawHDiagram() {
_startx = _START_HISTOGRAM_X_DEFAULT;
_starty = 200.0f;
_starty = 100.0f;
this->_size_for_one_container = _HEIGHT_FOR_ONE_CONTAINER_DEFAULT;
this->_percentage_height_default = (this->_size_for_one_container - _START_HISTOGRAM_Y_DEFAULT) / 100.;
......
......@@ -51,7 +51,7 @@
* \def _HEIGHT_FOR_ONE_CONTAINER_DEFAULT
* \brief The default height for one container's statistics.
*/
#define _HEIGHT_FOR_ONE_CONTAINER_DEFAULT 300.0f
#define _HEIGHT_FOR_ONE_CONTAINER_DEFAULT 450.0f
/*!
* \def _POS_X_CONTAINER_NAME
......@@ -83,7 +83,7 @@
* \def _START_HISTOGRAM_Y_DEFAULT
* \brief The default Y position for origin in histogram mode.
*/
#define _START_HISTOGRAM_Y_DEFAULT 100.f
#define _START_HISTOGRAM_Y_DEFAULT _HEIGHT_FOR_ONE_CONTAINER_DEFAULT/2.
/*!
* \def _POS_X_LEGEND_DEFAULT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment