summaryrefslogtreecommitdiff
path: root/plugins/Skins/SkinLib/BorderState.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Skins/SkinLib/BorderState.h')
-rw-r--r--plugins/Skins/SkinLib/BorderState.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/Skins/SkinLib/BorderState.h b/plugins/Skins/SkinLib/BorderState.h
new file mode 100644
index 0000000000..2cac3c1aa5
--- /dev/null
+++ b/plugins/Skins/SkinLib/BorderState.h
@@ -0,0 +1,28 @@
+#pragma once
+
+class BorderState
+{
+public:
+ BorderState(int left, int right, int top, int bottom);
+ ~BorderState();
+
+ int getLeft() const;
+ void setLeft(int left);
+
+ int getRight() const;
+ void setRight(int right);
+
+ int getTop() const;
+ void setTop(int top);
+
+ int getBottom() const;
+ void setBottom(int bottom);
+
+ void setAll(int border);
+
+private:
+ int left;
+ int right;
+ int top;
+ int bottom;
+};