aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed return value in get_pos_vals()gotmor2008-01-131-10/+11
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@200 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed ^fn()gotmor2008-01-131-3/+12
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@199 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added ^fn() command to dynamically switch fontsgotmor2008-01-131-1/+20
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@198 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fix in positioninggotmor2008-01-121-13/+12
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@197 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed get_pos_vals()gotmor2008-01-111-7/+6
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@196 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* allow ^p() and ^pa() to set both X and Y positions in a linegotmor2008-01-111-70/+190
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@195 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed debugging statementsgotmor2008-01-071-1/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@194 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* ^c() and ^co() accept an optional angle parametergotmor2008-01-061-9/+37
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@191 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed '-expand l' to take the '-x' position as the right corner of thegotmor2007-12-251-1/+1
| | | | | | | window git-svn-id: http://dzen.googlecode.com/svn/trunk@179 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed debugging messagesgotmor2007-12-221-2/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@178 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added "-expand" option. automatically grows/srinks the window to fit thegotmor2007-12-221-34/+30
| | | | | | | input width git-svn-id: http://dzen.googlecode.com/svn/trunk@177 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed bug in recty calculationgotmor2007-12-221-16/+38
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@176 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* new syntax for ^r() and ^ro()gotmor2007-12-201-18/+35
| | | | | | | gcpubar and gdbar fixes git-svn-id: http://dzen.googlecode.com/svn/trunk@173 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed ^cs()gotmor2007-09-171-0/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@166 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added '^cs()': clear slave windowgotmor2007-09-171-0/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@165 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* prevent int overflow in ^ro()gotmor2007-08-301-0/+8
| | | | | | | | | | prevent stairs effect in ^ro() when dzen.line_height - recth is not a multiple of 2 thanks Sebastien Gross README fix git-svn-id: http://dzen.googlecode.com/svn/trunk@164 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed broking drawing to title windowgotmor2007-08-171-10/+24
| | | | | | | relative positioning can also take negative values git-svn-id: http://dzen.googlecode.com/svn/trunk@156 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code refactoringgotmor2007-08-171-204/+223
| | | | | | | | ^ib() added ^pa() added git-svn-id: http://dzen.googlecode.com/svn/trunk@154 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added XPM icons supportgotmor2007-08-141-42/+125
| | | | | | | | drawing enhancement and fixes added command line option '-h' to set the line height git-svn-id: http://dzen.googlecode.com/svn/trunk@153 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* ready for release 0.8.0gotmor2007-08-041-14/+56
| | | | | | | | | | | new in-text commands: ^fg() and ^bg() without arguments set default colors ^ro() and ^co() outlined rectangle/circle fixes to gcpubar and gdbar to use ^fg() git-svn-id: http://dzen.googlecode.com/svn/trunk@151 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* release 0.7.5gotmor2007-08-011-40/+100
| | | | | | | | | | | | | | | | | fixed memory leak added in-text commands: ^tw() ^c() ^p() added gadgets: kittscanner gdbar gcpubar git-svn-id: http://dzen.googlecode.com/svn/trunk@149 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed X*DrawString handlinggotmor2007-07-261-15/+53
| | | | | | | | | added support to the in-text parser for rectangle drawing ready for release 0.7.0 git-svn-id: http://dzen.googlecode.com/svn/trunk@146 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed calculating icon locationgotmor2007-07-241-3/+6
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@145 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* clean upgotmor2007-07-231-3/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@143 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* free bitmaps after drawing themgotmor2007-07-231-0/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@142 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added support for X bitmap iconsgotmor2007-07-231-8/+33
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@141 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* last font fixes, change GC only oncegotmor2007-07-191-12/+9
| | | | | | | release 0.6.1 git-svn-id: http://dzen.googlecode.com/svn/trunk@136 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* more font setting fixesgotmor2007-07-191-3/+6
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@135 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed font loading gotmor2007-07-191-3/+10
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@134 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed a_menuexec and a_menuprint to use the new parsergotmor2007-07-191-129/+157
| | | | | | | ready for release 0.6.0 git-svn-id: http://dzen.googlecode.com/svn/trunk@131 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed expose handlinggotmor2007-07-171-5/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@126 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* clean upgotmor2007-07-161-59/+55
| | | | | | | readded text longer than line markers git-svn-id: http://dzen.googlecode.com/svn/trunk@125 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added support to color arbitrary parts of textgotmor2007-07-161-120/+205
| | | | | | | code needs testing git-svn-id: http://dzen.googlecode.com/svn/trunk@124 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed Makefile to be aware of the gadgetsgotmor2007-07-151-5/+10
| | | | | | | | added install rule to gadgets' Makefile updated TODO and README git-svn-id: http://dzen.googlecode.com/svn/trunk@123 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code cleanups, thanks 'mauke'gotmor2007-06-181-6/+6
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@106 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* release 0.5.0gotmor2007-06-141-2/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@102 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* proper check if can allocate the requested colorgotmor2007-06-141-8/+9
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@99 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* dynamic foreground and background colorgotmor2007-06-141-34/+56
| | | | | | | menu mode fixed git-svn-id: http://dzen.googlecode.com/svn/trunk@98 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* typosgotmor2007-06-141-6/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@96 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added dynamic color supportgotmor2007-06-141-6/+62
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@95 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* get rid of exposetitle and exposeslave actions, gotmor2007-06-111-3/+5
| | | | | | | we handle those without wrapper functions git-svn-id: http://dzen.googlecode.com/svn/trunk@82 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* improved buffer handling: gotmor2007-06-101-7/+7
| | | | | | | | malloc buffer buffer size is multiplier of dzen.slave_win.max_lines git-svn-id: http://dzen.googlecode.com/svn/trunk@77 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* reduce flickergotmor2007-06-091-5/+7
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@76 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* don't be a smartass and use tabs for intendation like every one elsegotmor2007-06-041-136/+136
| | | | | | | does git-svn-id: http://dzen.googlecode.com/svn/trunk@64 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* intendation fixesgotmor2007-06-041-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@63 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* 0.3.0 - switch to select()gotmor2007-06-011-8/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@42 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added optional Xinerama support, thanks David Glassergotmor2007-05-241-3/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@29 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* cleanups, renamed mh to line_heightgotmor2007-05-161-3/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@28 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed alignment odditiesgotmor2007-05-161-14/+9
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@26 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* alignment for slave window, option '-sa'gotmor2007-05-151-2/+8
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@25 f2baff5b-bf2c-0410-a398-912abdc3d8b2