summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-01-16 12:53:48 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-01-16 12:53:48 +0100
commit0dcc518ae605b33730e30b15c2d425c361123106 (patch)
treef52a18851c7095b15e2dad6f7347509ba3e7a50b /src/lib
parenteea7c03648d372755adace1f57bc88cb78a50f53 (diff)
adding some Pict2 opcodes
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Pict2Parser.cpp57
-rw-r--r--src/lib/Pict2Parser.h11
2 files changed, 67 insertions, 1 deletions
diff --git a/src/lib/Pict2Parser.cpp b/src/lib/Pict2Parser.cpp
index e3ef5fa..084c1f0 100644
--- a/src/lib/Pict2Parser.cpp
+++ b/src/lib/Pict2Parser.cpp
@@ -68,7 +68,18 @@ bool Pict2Parser::parse()
{ 0x0f, "bkColor", &Pict2Parser::handleBkColor, 5 },
{ 0x10, "txRatio", &Pict2Parser::handleTxRatio, 9 },
{ 0x11, "picVersion", &Pict2Parser::handlePicVersion, 2 },
-
+ { 0x12, "BkPixPat", &Pict2Parser::handleBkPixPat, -1 },
+ { 0x13, "PnPixPat", &Pict2Parser::handlePnPixPat, -1 },
+ { 0x14, "FillPixPat", &Pict2Parser::handleFillPixPat, -1 },
+ { 0x15, "PnLocHFrac", &Pict2Parser::handlePnLocHFrac, 3 },
+ { 0x16, "ChExtra", &Pict2Parser::handleChExtra, 3 },
+
+ { 0x1a, "RGBFgCol", &Pict2Parser::handleRGBFgCol, 7 },
+ { 0x1b, "RGBBkCol", &Pict2Parser::handleRGBBkCol, 7 },
+ { 0x1c, "HiliteMode", &Pict2Parser::handleHiliteMode, 1 },
+ { 0x1d, "HiliteColor", &Pict2Parser::handleHiliteColor, 7 },
+ { 0x1e, "DefHilite", &Pict2Parser::handleDefHilite, 1 },
+ { 0x1f, "OpColor", &Pict2Parser::handleOpColor, 7 },
{ 0x20, "line", &Pict2Parser::handleLine, 9 },
{ 0x21, "line from", &Pict2Parser::handleLineFrom, 5 },
{ 0x22, "short line", &Pict2Parser::handleShortLine, 7 },
@@ -282,6 +293,50 @@ void Pict2Parser::handlePicVersion()
{
}
+void Pict2Parser::handleBkPixPat()
+{
+}
+
+void Pict2Parser::handlePnPixPat()
+{
+}
+
+void Pict2Parser::handleFillPixPat()
+{
+}
+
+void Pict2Parser::handlePnLocHFrac()
+{
+}
+
+void Pict2Parser::handleChExtra()
+{
+}
+
+void Pict2Parser::handleRGBFgCol()
+{
+}
+
+void Pict2Parser::handleRGBBkCol()
+{
+}
+
+void Pict2Parser::handleHiliteMode()
+{
+}
+
+void Pict2Parser::handleHiliteColor()
+{
+}
+
+void Pict2Parser::handleDefHilite()
+{
+}
+
+void Pict2Parser::handleOpColor()
+{
+}
+
void Pict2Parser::handleLine()
{
}
diff --git a/src/lib/Pict2Parser.h b/src/lib/Pict2Parser.h
index b7a08ab..1a4f3ab 100644
--- a/src/lib/Pict2Parser.h
+++ b/src/lib/Pict2Parser.h
@@ -62,6 +62,17 @@ private:
void handleBkColor();
void handleTxRatio();
void handlePicVersion();
+ void handleBkPixPat();
+ void handlePnPixPat();
+ void handleFillPixPat();
+ void handlePnLocHFrac();
+ void handleChExtra();
+ void handleRGBFgCol();
+ void handleRGBBkCol();
+ void handleHiliteMode();
+ void handleHiliteColor();
+ void handleDefHilite();
+ void handleOpColor();
void handleLine();
void handleLineFrom();