From f2454aab13a7c08b11ab67f53201fc17802c6bf8 Mon Sep 17 00:00:00 2001 From: gotmor Date: Fri, 17 Aug 2007 22:26:28 +0000 Subject: README fixes git-svn-id: http://dzen.googlecode.com/svn/trunk@157 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- README | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'README') diff --git a/README b/README index a7e207c..b5b0354 100644 --- a/README +++ b/README @@ -416,11 +416,13 @@ Positioning: ------------ ^p(PIXEL) position next input amount of PIXELs to the right + or left of the current position 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' + used with '-ta l' or '-sa l'. Other: ------ @@ -428,18 +430,19 @@ Other: This command has some annoyances, as only the input after the command will be drawn to the title window, so it is best used - only once and as first command per line + 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. + with ^bg(color). + This command is useful in combination with ^p() + and ^pa() in order to position the input inside + other already drawn input. + + Example: + ^^ib(1)^^fg(red)^^ro(100x15)^^p(-98)^^fg(blue)^^r(20x10)^^fg(orange)^^p(3)^^r(40x10)^^p(4)^^fg(darkgreen)^^co(12)^^p(2)^^c(10) -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 -- cgit v1.2.3-54-g00ecf