guit
0.1
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Typedefs
Enumerations
Friends
props
gmodes.hpp
1
//
2
// Guit GUI Toolkit
3
// Copyright © 2019/2020 Eric Lecolinet. All rights reserved.
4
// http://www.telecom-paris.fr/~elc
5
//
6
#ifndef GuitModes_hpp
7
#define GuitModes_hpp
8
#include <gprop.hpp>
9
#include <gproplist.hpp>
10
namespace
guit {
11
14
class
GModes
:
public
GProp
{
15
public
:
16
GModes
(GString
const
& modes =
""
);
17
18
using
GType
=
GPropType_<GModes,GProp>
;
19
static
GType
& Type();
20
GType
& type()
const override
{
return
Type();}
21
22
void
addModes(GadgetModes&)
override
;
23
void
apply(
Gadget
*, GRender&,
Specif
)
final
;
24
25
private
:
26
void
setModes(GadgetModes&);
27
struct
Mode{uint64_t type;
bool
val;};
28
std::vector<Mode> modes_;
29
};
30
31
}
32
#endif
Generated on Thu Feb 25 2021 16:42:45 for guit by
1.8.4