diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-12 11:13:09 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-12 11:13:09 +0000 |
commit | 021ac0b5754cc8090633aa043cb80d5622ff9c12 (patch) | |
tree | a4e489b6687701fd29c06800914490aac43f98ae | |
parent | 2e1734055d1091f4ea9afbf7d2d20d3d4cd4d7c8 (diff) | |
download | dzen-021ac0b5754cc8090633aa043cb80d5622ff9c12.tar.gz dzen-021ac0b5754cc8090633aa043cb80d5622ff9c12.zip |
added more commands to parse_non_drawing_commands()
git-svn-id: http://dzen.googlecode.com/svn/trunk@244 f2baff5b-bf2c-0410-a398-912abdc3d8b2
-rw-r--r-- | draw.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -1040,16 +1040,40 @@ parse_non_drawing_commands(char * text) { a_togglecollapse(NULL); return 0; } + if(!strncmp(text, "^collapse()", strlen("^collapse()"))) { + a_collapse(NULL); + return 0; + } + if(!strncmp(text, "^uncollapse()", strlen("^uncollapse()"))) { + a_uncollapse(NULL); + return 0; + } if(!strncmp(text, "^togglestick()", strlen("^togglestick()"))) { a_togglestick(NULL); return 0; } + if(!strncmp(text, "^stick()", strlen("^stick()"))) { + a_stick(NULL); + return 0; + } + if(!strncmp(text, "^unstick()", strlen("^unstick()"))) { + a_unstick(NULL); + return 0; + } if(!strncmp(text, "^togglehide()", strlen("^togglehide()"))) { a_togglehide(NULL); return 0; } + if(!strncmp(text, "^hide()", strlen("^ide()"))) { + a_hide(NULL); + return 0; + } + if(!strncmp(text, "^unhide()", strlen("^unhide()"))) { + a_unhide(NULL); + return 0; + } if(!strncmp(text, "^raise()", strlen("^raise()"))) { a_raise(NULL); |