5 #ifndef __EVENT_VIEW_H__ 6 #define __EVENT_VIEW_H__ 12 const std::string VIEW_EVENT =
"df::view";
26 EventView(std::string new_tag,
int new_value,
bool new_delta);
29 void setTag(std::string new_tag);
32 std::string
getTag()
const;
48 #endif // __EVENT_VIEW_H__ bool m_delta
True if change in value, else replace value.
Definition: EventView.h:19
void setDelta(bool new_delta)
Set delta to new delta.
Definition: EventView.h:14
A 2-d bounding box.
Definition: Box.h:10
std::string m_tag
Tag to associate.
Definition: EventView.h:17
int getValue() const
Get value.
std::string getTag() const
Get tag.
int m_value
Value for view.
Definition: EventView.h:18
bool getDelta() const
Get delta.
void setValue(int new_value)
Set value to new value.
EventView()
Create view event with tag VIEW_EVENT, value 0 and delta false.
void setTag(std::string new_tag)
Set tag to new tag.