Commit Graph

1670 Commits

Author SHA1 Message Date
Julien Danjou aa5138bc1d Store phys_screen in SimpleWindow, and resize drawable on window resize 2008-03-23 15:52:18 +01:00
Julien Danjou d144c53395 Add simplewindow_move_resize() function 2008-03-23 15:52:18 +01:00
Julien Danjou 61f9ae172f Add simplewindow_resize() function 2008-03-23 15:52:18 +01:00
Julien Danjou f1109b055c Simplify next/prev stuff 2008-03-23 15:52:18 +01:00
Julien Danjou c6eec955c8 Rename Area to area_t 2008-03-23 15:52:18 +01:00
Julien Danjou a2082ffbae Factorize some code with taglist_style_get() 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 b4ec0e2d13 Die if no colors sections. 2008-03-23 15:52:18 +01:00
Julien Danjou bcb6a18e0f Add default colors to configuration file 2008-03-23 15:52:18 +01:00
Julien Danjou 9dfd488dda Change colors handling 2008-03-23 15:52:18 +01:00
Julien Danjou a0ba05b904 Oops. 2008-03-23 15:52:18 +01:00
Julien Danjou 49263c083c Add default key bindings for running awesome-menu 2008-03-23 15:52:18 +01:00
marco candrian 2e6dccc5ac make sure command is some text != ""
else call with command arg = NULL

No need to check for a_strlen(command) then on _tell anymore if command != NULL
2008-03-23 15:52:18 +01:00
Julien Danjou 98e219fab8 Remove a bad strlen() usage 2008-03-23 15:52:18 +01:00
marco candrian d1e216936c try to calculated the height etc in the same way on progressbar and graph
some issue is still there (anyway). When there are e.g. 5 horizontal bars
the width of that progressbar (multiply of 5 or similar) may won't be the
same like a graph.

So some tweaking on the graphs' height is necessary then.
2008-03-23 15:52:18 +01:00
marco candrian b1b2b48a4c graph: different widget index's (FIXME) handled now
widget_tell can feed data to some with another frequenzy.

When drawing a line, it has to be searched for a smaller value, what should
not get overdrawed. In order to find such a smaller value, the correct value
has to be compared to - and therefore the correct index.
2008-03-23 15:52:18 +01:00
marco candrian 2e935ae1f6 vertical_gradient option for the graph widget
if true, the color values (fg, fg_center, fg_end) create a color gradient
from 0 to full value, instead of new values to old values.

each data{} can have it's own setting
2008-03-23 15:52:17 +01:00
Julien Danjou 1dc6012aea Fix typo in comment 2008-03-23 15:52:17 +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 e8e02d5a5d Initialize a.prev to NULL 2008-03-23 15:52:17 +01:00
Julien Danjou eee37d063c Use xinerama_is_active attribute and drop XineramaIsActive() usage 2008-03-23 15:52:17 +01:00
Julien Danjou 355b7d67b3 Change screen_get_bycoord() proto to take ScreensInfo as arg, and speed up things 2008-03-23 15:52:17 +01:00
Julien Danjou 0bde5c9e29 Move some screen functions from screen.c to new common/xscreen.c 2008-03-23 15:52:17 +01:00
Julien Danjou 5f26ab448c Free the previously opened font if changing it via widget_tell in textbox 2008-03-23 15:52:17 +01:00
Chris Ciulla 77827ee364 Add a simple progress bar example
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:17 +01:00
calmar 64afb9b840 awesomerc.5.txt with Kai Grossjohann's improved shell-script
+ making the AUTHOR's section more homogeneous.
+ some other minor corrections

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:17 +01:00
Julien Danjou 0cd969bfb9 Split screen_build_screen() into more generic code and type: screeninfos_new() 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 28af9e7e61 Replace perror() with warn() 2008-03-23 15:52:17 +01:00
Chris Ciulla edc0c01f2b Add a "Simple Clock" example from the wiki in awesomerc manpage 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 8c901c8b1e Be more verbose about errors and warnings location
Print function name and line,
and also print a W: or E: in front of the warn/errors
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