ui: new features for the Graph UI

* removed node shadows
* made enums collapsible
* added icons to nodes: enum, typedef, macro, bundle
This commit is contained in:
Eberhard Graether
2015-09-29 15:10:44 +02:00
parent 8777c9874b
commit 201e6d24a9
16 changed files with 131 additions and 111 deletions
+3 -4
View File
@@ -44,12 +44,9 @@ public:
std::string iconColor;
std::string hatchingColor;
std::string shadowColor;
int shadowBlurRadius;
int cornerRadius;
float borderWidth;
int borderWidth;
std::string borderColor;
bool borderDashed;
@@ -123,6 +120,8 @@ public:
static int s_gridCellPadding;
private:
static void addIcon(Node::NodeType type, bool hasChildren, NodeStyle* style);
static std::map<Node::NodeType, float> s_charWidths;
static std::map<Node::NodeType, float> s_charHeights;