Commit dfc7e3b6 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Add VITE_NAME macro and spaces/indent

parent 94898f73
......@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
......@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
......@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
/*!
......@@ -57,7 +57,7 @@ Element_pos Info::Container::x_min = 0;
Element_pos Info::Container::x_max = 0;
Element_pos Info::Container::y_min = 0;
Element_pos Info::Container::y_max = 0;
Element_pos Info::Entity::x_min = 0;
Element_pos Info::Entity::x_max = 0;
Element_pos Info::Entity::y_min = 0;
......@@ -102,7 +102,7 @@ void Info::release_all(){
Info::Container::x_max = 0;
Info::Container::y_min = 0;
Info::Container::y_max = 0;
Info::Entity::x_min = 0;
Info::Entity::x_max = 0;
Info::Entity::y_min = 0;
......
......@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
......@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
......@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
/*!
......@@ -72,8 +72,8 @@ public:
/*!
* \brief Release all Info class attributes.
*/
static void release_all();
static void release_all();
/*!
* \brief Sub structure to store screen information.
*/
......@@ -117,7 +117,7 @@ public:
static Element_pos y_max;
};
/*!
* \brief Sub structure to store state information.
*/
......@@ -166,8 +166,8 @@ public:
* false -> key released.
*/
static bool _key_alt;
/*!
/*!
* \brief Contains the state of tke CTRL key.
* true -> key pushed.
* false -> key released.
......@@ -184,47 +184,47 @@ public:
*/
static bool _no_events;
/*!
* \brief Control if the color of State is uniform (value is false) or shaded (value is true). (By default, shaded)
*/
static bool _shaded_states;
/*!
* \brief Control if the color of State is uniform (value is false) or shaded (value is true). (By default, shaded)
*/
static bool _shaded_states;
/*!
* \brief Control if the vertical line is on. (By default, yes)
*/
static bool _vertical_line;
/*!
* \brief Control if the vertical line is on. (By default, yes)
*/
static bool _vertical_line;
/*!
/*!
* \brief Contains the trace minimum visible time.
*/
static Element_pos _x_min_visible;
/*!
/*!
* \brief Contains the trace maximum visible time.
*/
static Element_pos _x_max;
/*!
/*!
* \brief Contains the trace minimum visible time, uncorrected (state width isn't removed)
*/
static Element_pos _x_min;
/*!
/*!
* \brief Contains the trace maximum visible time.
*/
static Element_pos _x_max_visible;
/*!
/*!
* \brief Contains the x position of selection.
*/
static Element_pos _info_x;
/*!
/*!
* \brief Contains the y position of selection.
*/
static Element_pos _info_y;
/*!
/*!
* \brief Contains the accurate position of selection.
*/
static Element_pos _info_accurate;
......@@ -234,12 +234,12 @@ public:
*/
static const int X_TRACE_BEGINNING = 0;
/*!
* \brief To show the y beginning of the trace.
*/
static const int Y_TRACE_BEGINNING = 1;
/*!
* \brief To show the x ending of the trace.
*/
......@@ -249,22 +249,22 @@ public:
* \brief To show the y ending of the trace.
*/
static const int Y_TRACE_ENDING = 3;
/*!
* \brief To show the horizontal entire trace.
*/
static const int X_TRACE_ENTIRE = 4;
/*!
* \brief To show the vertical entire trace.
*/
static const int Y_TRACE_ENTIRE = 5;
/*!
* \brief To show the left screen of the current view.
*/
static const int X_SCREEN_LEFT_MOVE = 6;
/*!
* \brief To show the right screen of the current view.
*/
......@@ -278,12 +278,12 @@ public:
/*!
* \brief The depth (number of stacked containers) of the data structure.
*/
static int depth;
};
*/
static int depth;
};
struct Splitter{
/*!
* \brief are we splitting ?
*/
......@@ -309,16 +309,16 @@ public:
*/
static std::string xml_filename;
/*!
* \brief min time we want to load
* \brief min time we want to load
*/
static Element_pos _x_min;
/*!
* \brief max time we want to load
*/
static Element_pos _x_max;
};
};
#endif
......@@ -50,6 +50,12 @@
#include "ViteConfig.hpp"
/*!
* \def VITE_NAME
* \brief the ViTE string
*/
#define VITE_NAME "ViTE"
/*!
* \def VITE_VERSION
* \brief the ViTE version (string)
......
Supports Markdown
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