2#include <NDEVR/Dictionary.h>
3#include <NDEVR/JSONNode.h>
4#include <NDEVR/String.h>
44 def.second.toJSON(node[def.first]);
61 #define _i(id, def) (IconDefinition(id, def))
Definition Dictionary.h:48
Definition IconManager.h:38
Dictionary< String, IconDefinition > m_icons
Definition IconManager.h:59
void toJSON(JSONNode &node) const
Definition IconManager.h:40
void addIcon(const IconDefinition &definition)
Definition IconManager.h:54
void fromJSON(const JSONNode &node)
Definition IconManager.h:47
JavaScript Object Notation or JSON is an open - standard file format that uses human - readable text ...
Definition JSONParser.h:121
decltype(auto) getAs() const
Definition JSONParser.h:286
const Buffer< JSONNode * > & children() const
Definition JSONParser.h:336
Definition IconManager.h:8
String icon_id
Definition IconManager.h:33
String default_draw_operation
Definition IconManager.h:34
IconDefinition(const String &id, const String &def)
Definition IconManager.h:14
IconDefinition(const JSONNode &node)
Definition IconManager.h:19
IconDefinition(const String &def)
Definition IconManager.h:9
void toJSON(JSONNode &node) const
Definition IconManager.h:23
void fromJSON(const JSONNode &node)
Definition IconManager.h:28