guit  0.1
 All Classes Functions Variables Typedefs Enumerations Friends
gcomputedstyle.hpp
1 //
2 // Computed Style
3 // Guit GUI Toolkit
4 // Copyright © 2020 Eric Lecolinet. All rights reserved.
5 // http://www.telecom-paris.fr/~elc
6 //
7 
8 #ifndef Guit_ComputedStyle_hpp
9 #define Guit_ComputedStyle_hpp
10 #include <map>
11 #include <gprop.hpp>
12 namespace guit {
13 
14 class GPropMap : public std::map<int, gptr<GProp>> {
15 };
16 
19 public:
20  GComputedStyle(class Gadget& obj);
21  ~GComputedStyle();
22 
23  gptr<GProp> getProp(GPropType&) const;
24  GPropMap getProps() const;
25 
26  void print(std::ostream&) const;
27 
29  class GRender* render_{};
30 };
31 
32 }
33 #endif