GLStats  0.3.3
type.h
1 
2 /* Copyright (c) 2012-2013, Stefan Eilemann <eile@eyescale.ch>
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 2.1 as published
6  * by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11  * details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16  */
17 
18 #ifndef GLSTATS_TYPE_H
19 #define GLSTATS_TYPE_H
20 
21 #include <GLStats/api.h>
22 
23 namespace GLStats
24 {
26 struct Type
27 {
28  Type()
29  {
30  color[0] = 1.f;
31  color[1] = 1.f;
32  color[2] = 1.f;
33  color[3] = .6f;
34  }
35 
36  std::string name;
37  std::string group;
38  std::string subgroup;
39  float color[4];
40 };
41 }
42 
43 #endif // GLSTATS_TYPE_H
float color[4]
Base color of the event.
Definition: type.h:39
Defines export visibility macros for library GLStats.
std::string group
Name of the entity/group.
Definition: type.h:37
std::string subgroup
Name of the thread/subgroup.
Definition: type.h:38
One statistics type.
Definition: type.h:26
std::string name
Description of the event type.
Definition: type.h:36
Basic type definitions not provided by the operating system.
Definition: data.h:24