aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed return type of parse_non_drawing_commands()gotmor2008-12-051-0/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@236 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added some of the actions as in-text commands (e.g.gotmor2008-12-051-14/+76
| | | | | | | ^togglecollapse(), ^exit(), ...) git-svn-id: http://dzen.googlecode.com/svn/trunk@235 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed #ifdef/#endif confusion for "option 1" in config.mkgotmor2008-07-261-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@232 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed debugging outputgotmor2008-07-251-2/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@231 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* refactored get_rect_vals() and get_circle_vals()gotmor2008-07-201-49/+10
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@227 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* get_token() uses a table now rather then hardcoding the commands intogotmor2008-06-161-72/+33
| | | | | | | the function git-svn-id: http://dzen.googlecode.com/svn/trunk@225 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* positioning labels reworkedgotmor2008-06-161-67/+11
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@224 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added symbolic names to the ^p() commandgotmor2008-04-091-41/+192
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@223 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed menu mode buggotmor2008-02-081-4/+9
| | | | | | | added a check to determine if we use the pixmap buffer or not git-svn-id: http://dzen.googlecode.com/svn/trunk@216 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* renamed find_icon to search_icon_cachegotmor2008-02-041-51/+50
| | | | | | | | insert_icon to cache_icon reverted to old pixmap handling, i.e. removed opm and the pointers git-svn-id: http://dzen.googlecode.com/svn/trunk@215 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added a simple pixmap cachegotmor2008-02-011-38/+99
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@214 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added -fn-preload option to preload fonts at startupgotmor2008-02-011-33/+52
| | | | | | | ^fn() makes use of the preloaded fonts when refenrencing them as dfnt0, dfnt1, ... git-svn-id: http://dzen.googlecode.com/svn/trunk@213 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* default positioninggotmor2008-01-261-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@211 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed a leak in freeing opmgotmor2008-01-221-68/+18
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@209 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* reset set_posy only if requestedgotmor2008-01-191-19/+32
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@208 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* ^r(WxH+X+Y) positions relativly to the current posgotmor2008-01-181-7/+30
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@207 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixe in get_rect_vals()gotmor2008-01-171-2/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@206 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed wrong check in get_rect_vals()gotmor2008-01-171-12/+16
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@205 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed bug in get_rect_vals()gotmor2008-01-161-10/+11
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@204 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* applied Mathias Stearn's strncmp() patch to get_token()gotmor2008-01-151-26/+14
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@203 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* positioning fix - hopefully the lastgotmor2008-01-131-3/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@202 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* more positioning fixesgotmor2008-01-131-4/+23
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@201 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* 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