diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-08-17 09:33:30 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-08-17 09:33:30 +0000 |
commit | 8fa0611e50a63af17ef3bab691b4a148951d55cf (patch) | |
tree | 04c7172794d0a038dd428dcd3afd3ef26c698488 /README | |
parent | 8637be0fdc4e67434d76fed1ca65e54bb92ddb41 (diff) | |
download | dzen-8fa0611e50a63af17ef3bab691b4a148951d55cf.tar.gz dzen-8fa0611e50a63af17ef3bab691b4a148951d55cf.zip |
code refactoring
^ib() added
^pa() added
git-svn-id: http://dzen.googlecode.com/svn/trunk@154 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'README')
-rw-r--r-- | README | 34 |
1 files changed, 30 insertions, 4 deletions
@@ -391,11 +391,20 @@ displays. Currently the following commands are supported: +Colors: +------- + ^fg(color) set foreground color ^fg() without arguments, sets default fg color ^bg(color) set background color ^bg() without arguments, sets default bg color +Graphics: +--------- + + ^i(path) draw icon specified by path + Supported formats: XBM and optionally XPM + ^r(WIDTHxHEIGHT) draw a rectangle with the dimensions WIDTH and HEIGHT ^ro(WIDTHxHEIGHT) rectangle outline @@ -403,11 +412,17 @@ Currently the following commands are supported: ^c(RADIUS) draw a circle with size RADIUS pixels ^co(RADIUS) circle outline - ^p(PIXEL) increment momentary position by PIXEL +Positioning: +------------ - ^i(path) draw icon specified by path - Supported formats: XBM and optionally XPM - + ^p(PIXEL) position next input amount of PIXELs to the right + a.k.a. relative positioning + ^pa(PIXEL) position next input at PIXEL + a.k.a. absolute positioning + For maximum predictability ^^pa() should only be + used with '-ta l' or '-sa l' +Other: +------ ^tw() draw to title window This command has some annoyances, as only @@ -416,6 +431,17 @@ Currently the following commands are supported: only once and as first command per line Subject to be improved in the future. + ^ib(VALUE) ignore background setting, VALUE can be either + 1 to ignore or 0 to not ignore the bg color set + with ^bg(color) + This command is useful in combination with ^^pa() + in order to position the input inside other already + drawn input. + +Example: +^ib(1)^pa(4)^fg(red)^ro(100x15)^pa(6)^fg(blue)^r(20x10)^fg(orange)^pa(28)^r(40x10)^pa(70)^p(2)^fg(darkgreen)^co(12)^p(2)^c(12) + + These commands can appear anywhere and in any combination in dzen's input. |