summaryrefslogtreecommitdiff
path: root/kicad/pl-common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-08 00:52:30 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-08 00:55:21 -0300
commit9b22ef7b4c58d36ae0ea01847323a691d7a7e192 (patch)
tree5d116fdb70ed3580a87f84f096cfd05347c24e0f /kicad/pl-common.h
parent57a490584151ecf75ce1273ffd6e9413e3b85835 (diff)
downloadeeshow-9b22ef7b4c58d36ae0ea01847323a691d7a7e192.tar.gz
eeshow-9b22ef7b4c58d36ae0ea01847323a691d7a7e192.tar.bz2
eeshow-9b22ef7b4c58d36ae0ea01847323a691d7a7e192.zip
kicad/: support page layout options page1only and notonpage1
Diffstat (limited to 'kicad/pl-common.h')
-rw-r--r--kicad/pl-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kicad/pl-common.h b/kicad/pl-common.h
index 1c454d6..44aa5e0 100644
--- a/kicad/pl-common.h
+++ b/kicad/pl-common.h
@@ -23,6 +23,12 @@ enum font_flag {
font_italic = 1 << 1,
};
+enum page_constraint {
+ pc_none,
+ pc_only_one,
+ pc_except_one,
+};
+
struct pl_obj {
enum pl_obj_type {
@@ -31,6 +37,7 @@ struct pl_obj {
pl_obj_text,
} type;
+ enum page_constraint pc;
const char *s; /* tbtext */
int repeat; /* line, rect, tbtext */
float x, y; /* line, rect, tbtext */