Commit Graph

45 Commits

Author SHA1 Message Date
marco candrian b92a292e43 additional line width argument to draw_rectangle[_gradient] in draw.c
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou 1d468c5583 Lot of cosmetic changes: proto change, etc.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou accf223bb1 Use warn() instead of perror()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou c7e821a54a Remove sizeof() usage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Arnaud Fontaine 77dfdd2928 Remove PATH_MAX usage from awesome-menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 9204066788 Begin to use validate function in config handling 2008-03-23 15:52:21 +01:00
Arnaud Fontaine 7743e71837 Add missing includes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:20 +01:00
Julien Danjou 74777016af Documente existing -c option of awesome-menu 2008-03-23 15:52:19 +01:00
Julien Danjou c6eec955c8 Rename Area to area_t 2008-03-23 15:52:18 +01:00
Julien Danjou d10b98c101 Make awesome-{menu,message} Xinerama aware 2008-03-23 15:52:18 +01:00
Julien Danjou fa47024714 Change colors infrastructure to style: rename colors_ctx_t to style_t and add font in it 2008-03-23 15:52:18 +01:00
Julien Danjou 9dfd488dda Change colors handling 2008-03-23 15:52:18 +01:00
Arnaud Fontaine fc9e31ff62 get rid of PATH_MAX
I  replaced  stack  memory  allocations  with PATH_MAX  by  heap  memory
allocations on post-2.2 branch  because PATH_MAX isn't necessary defined
according to  POSIX specification.   For instance GNU/Hurd  doesn't have
PATH  size restriction,  thus doesn't  defined PATH_MAX  and compilation
will fail.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:17 +01:00
Julien Danjou 6b4c9fed83 Remove useless ; after DO_SLIST macro 2008-03-23 15:52:17 +01:00
Julien Danjou 0a980095b3 Rework colors stuff, add a common colors_ctx_t containing colors and shadow options 2008-03-23 15:52:17 +01:00
Julien Danjou cbc5ec8060 Use common/xscreen infra to get screens info 2008-03-23 15:52:17 +01:00
Julien Danjou 8db08ea43e [awesome-menu] Fix a problem with XK_Tab completion and with "." listing 2008-03-23 15:52:17 +01:00
Julien Danjou f3652aaca6 Add a pointer to SLIST struct to store previous element
This will make back cycling faster
2008-03-23 15:52:17 +01:00
Julien Danjou 6d5d2e68d6 [awesome-menu] Add a final / to directory names 2008-03-23 15:52:17 +01:00
Julien Danjou 6b06e6808a [awesome-menu] Add support for ~user path 2008-03-23 15:52:17 +01:00
Julien Danjou 33560c393d [awesome-menu] Check that we have enough width to draw our items 2008-03-23 15:52:17 +01:00
Julien Danjou 4a41a50a39 [awesome-menu] Better handling of selected item that are drawn in the end of the list 2008-03-23 15:52:17 +01:00
Julien Danjou e668bf8dc3 [awesome-menu] Fix problem with filling via stdin was overwritten 2008-03-23 15:52:17 +01:00
Julien Danjou e6b3aa92f5 [awesome-menu] Remove a bunch of useless keybindings and add support for ISO_Left_Tab 2008-03-23 15:52:17 +01:00
Julien Danjou f00008938f [awesome-menu] Fix wrong size in a_strcpy() 2008-03-23 15:52:17 +01:00
Julien Danjou 5b2e9c0139 [awesome-menu] Fix infinite loop on bad completion 2008-03-23 15:52:16 +01:00
Julien Danjou a5f0df0c95 [awesome-menu] Add support for empty prompt 2008-03-23 15:52:16 +01:00
Julien Danjou 1fb61f54df [awesome-menu] Remove command line option and add support for menu {} in conffile 2008-03-23 15:52:16 +01:00
Julien Danjou cb525dd4ba [awesome-menu] rewrite handling of ~ which was too buggy 2008-03-23 15:52:16 +01:00
Julien Danjou df8e3abf50 [awesome-menu] item_list_fill_file() now returns a Bool and support for ~ as directory 2008-03-23 15:52:16 +01:00
Julien Danjou 9d14cca8e0 [awesome-menu] Make compute_match() take an arg, and rewrite conditions 2008-03-23 15:52:16 +01:00
Julien Danjou 7cbd82011b [awesome-menu] Change item_list_fill_file() proto to take directory as arg 2008-03-23 15:52:16 +01:00
Julien Danjou 5b7200daf2 [awesome-menu] Try harder to grab keyboard
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:16 +01:00
Julien Danjou cd28b2357b [awesome-menu] Make completion cyclic 2008-03-23 15:52:16 +01:00
Julien Danjou 6ebf5b5032 [awesome-menu] Fix some completion error 2008-03-23 15:52:16 +01:00
Julien Danjou f3c632aebf [awesome-menu] Complete file completion 2008-03-23 15:52:16 +01:00
Julien Danjou b5ad123e60 [awesome-menu] Add preliminary support for file completion 2008-03-23 15:52:16 +01:00
Julien Danjou 6c88ddc63e [awesome-menu] Cosmetic changes; init var with nice value and remove else statement 2008-03-23 15:52:16 +01:00
Julien Danjou 6161fc2130 Fix regression, set selected_item_is_drawn to True when selected has been drawn. 2008-03-23 15:52:15 +01:00
Julien Danjou 4451e9099e Add support for text shadow, add new text_shadow_offset option. 2008-03-23 15:52:15 +01:00
Julien Danjou ddd4f1c43b Refactorize item drawing: add draw_item() function 2008-03-23 15:52:15 +01:00
Julien Danjou e5069d1b8c Add Xinerama support to awesome-menu and fix a bug with wrong displaying when selecting an item 2008-03-23 15:52:15 +01:00
Julien Danjou 5084451dc9 Fix rendering problem when selecting a item which would be drawn after the end of the screen. 2008-03-23 15:52:15 +01:00
Julien Danjou 7dbcdde705 Add reverse attribute to awesome-menu: support for XK_Left to go back 2008-03-23 15:52:15 +01:00
Julien Danjou 867b2f0775 first version of awesome-menu 2008-03-23 15:52:15 +01:00