aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
Commit message (Collapse)AuthorAgeFilesLines
* applied patch from Philip Lewis:gotmor2009-02-271-7/+19
| | | | | | | | | | | | | | * refactored out big block of duplicated code in draw.c:parse_line() * y tracking for clickable areas * fixed bug where having position locked at end of line could screw up autoresize * "block align" formatting command: ^ba(width,align) * added optional arguments to menuprint actions git-svn-id: http://dzen.googlecode.com/svn/trunk@255 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* minor changes. comments and codegotmor2009-02-131-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@249 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* correct handling of '-geometry' and '-y' options for dzen atgotmor2009-02-021-31/+30
| | | | | | | | | | the bottom of the screen cosmetic code clean ups Courtesy of Valery V. Vorotyntsev git-svn-id: http://dzen.googlecode.com/svn/trunk@240 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added "menuprint_noparse" actiongotmor2008-07-161-0/+14
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@226 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* allow ^p() and ^pa() to set both X and Y positions in a linegotmor2008-01-111-2/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@195 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added button6 and button7 eventsgotmor2007-08-181-0/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@162 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added XPM icons supportgotmor2007-08-141-0/+17
| | | | | | | | 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
* changed a_menuexec and a_menuprint to use the new parsergotmor2007-07-191-3/+10
| | | | | | | ready for release 0.6.0 git-svn-id: http://dzen.googlecode.com/svn/trunk@131 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* clean upgotmor2007-07-161-3/+4
| | | | | | | readded text longer than line markers git-svn-id: http://dzen.googlecode.com/svn/trunk@125 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed Makefile to be aware of the gadgetsgotmor2007-07-151-2/+4
| | | | | | | | 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
* corrected stupid error in add_handler()gotmor2007-07-111-5/+8
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@122 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* add_action last actionhandler points to NULLgotmor2007-07-111-0/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@121 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added actions:gotmor2007-07-061-5/+22
| | | | | | | | | | | | togglecollapse togglehide a_collapse: removed unmapping of each subwindow git-svn-id: http://dzen.googlecode.com/svn/trunk@118 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added "onnewinput" eventgotmor2007-07-011-4/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@117 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fix add_option, thanks Alexander V. Inyukhingotmor2007-06-241-0/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@110 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code cleanups, thanks 'mauke'gotmor2007-06-181-14/+32
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@106 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* help script addedgotmor2007-06-151-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@104 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added dynamic color supportgotmor2007-06-141-4/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@95 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed unused variablegotmor2007-06-131-0/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@92 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* final warning fixesgotmor2007-06-131-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@89 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* warningsgotmor2007-06-131-4/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@88 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixes to compile cleanly with -Wall and -DPOSIX_SOURCEgotmor2007-06-131-3/+3
| | | | | | | changed config.mk, there were problems with solaris git-svn-id: http://dzen.googlecode.com/svn/trunk@87 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed default actionsgotmor2007-06-131-13/+12
| | | | | | | cleaned up git-svn-id: http://dzen.googlecode.com/svn/trunk@86 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed event array, all events are handled with a linked listgotmor2007-06-131-72/+60
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@85 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added keyboard handlinggotmor2007-06-131-13/+142
| | | | | | | added a_grabkeys, a_ungrabkeys, a_scrollend git-svn-id: http://dzen.googlecode.com/svn/trunk@84 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* clean up to compile cleanly witg -Wall and -DPOSIX_SOURCEgotmor2007-06-111-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@83 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* get rid of exposetitle and exposeslave actions, gotmor2007-06-111-28/+8
| | | | | | | we handle those without wrapper functions git-svn-id: http://dzen.googlecode.com/svn/trunk@82 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* adapted hide/unhide actions to the horizontal menu modegotmor2007-06-071-3/+11
| | | | | | | restructered x_create_windows() git-svn-id: http://dzen.googlecode.com/svn/trunk@70 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed strtol in main, must be strtoulgotmor2007-06-051-33/+40
| | | | | | | added horizontal menu functionality git-svn-id: http://dzen.googlecode.com/svn/trunk@67 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* really fixed scrollgotmor2007-06-041-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@66 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* changed option handling for -p to strtoulgotmor2007-06-041-1/+1
| | | | | | | fixed off by one in scroll git-svn-id: http://dzen.googlecode.com/svn/trunk@65 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* don't be a smartass and use tabs for intendation like every one elsegotmor2007-06-041-236/+236
| | | | | | | does git-svn-id: http://dzen.googlecode.com/svn/trunk@64 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* intendation fixesgotmor2007-06-041-5/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@63 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed bug in scrollgotmor2007-06-031-1/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@62 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* simplified scrollinggotmor2007-06-031-24/+21
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@55 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed scrollinggotmor2007-06-031-7/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@54 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* a_scrollup, a_scrolldown take argument: number of lines to scrollgotmor2007-06-031-4/+26
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@53 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* renamed a_showhead to a_scrollhomegotmor2007-06-031-4/+4
| | | | | | | changed handle_newl to scroll only when last line of input is viewed git-svn-id: http://dzen.googlecode.com/svn/trunk@49 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* better x_draw_body in a_showhead only if dzen.slave_win.max_lines is setgotmor2007-06-021-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@47 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* a_showhead addedgotmor2007-06-021-0/+12
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@46 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* 0.3.0 - switch to select()gotmor2007-06-011-3/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@42 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed a_menuexecgotmor2007-05-291-1/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@32 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed bug in a_menuprintgotmor2007-05-291-1/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@31 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* cleanups, renamed mh to line_heightgotmor2007-05-161-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@28 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* renamed "onquit" to "onexit"gotmor2007-05-111-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@18 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* code clean und and rearrangementgotmor2007-05-111-35/+0
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@17 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* new clean_up codegotmor2007-05-101-21/+16
| | | | | | | fixed selected line bug in menu mode git-svn-id: http://dzen.googlecode.com/svn/trunk@16 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* raise, lower actionsgotmor2007-05-091-0/+20
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@15 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added onstart, onquit eventsgotmor2007-05-091-0/+22
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@12 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed broken autohide by relacing obsolete dzen.mw with dzen.title_win.widthgotmor2007-05-081-3/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@11 f2baff5b-bf2c-0410-a398-912abdc3d8b2