Julien Danjou
2fd0b3c008
[widgets] New emptybox widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 10:15:38 +02:00
Julien Danjou
c4cc8c5e04
[widgets] Remove paddings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 10:04:03 +02:00
Julien Danjou
fb36ccee49
[styles] Set shadow_offset to 0 by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 13:40:59 +01:00
Julien Danjou
18117e8495
[styles] Use 0xffffffff as auto value for shadow (FS#117)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 12:13:16 +01:00
marco candrian
9db8635523
[config] add missing documentation
2008-03-28 09:53:50 +01:00
Julien Danjou
3692e5f251
[config] Add documentation for a bunch of options
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 18:31:55 +01:00
Julien Danjou
25b22a7cb9
[doc] Add autogeneration of options documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 16:48:52 +01:00
marco candrian
89f4e22255
[widgets] new progressbar options
...
if a ticks_count is defined (!= 0), round the value to them ('ticks')
and draw finally some gaps.
Also an important issue: since the bar needs to be 'homogenous', they may won't
match a given height. Some value tweaking will be necessary then.
An alternative would be a not homogenous bar, what is worse I think.
The values, when there are 'ticks', get rounded up somebit. So they get turned on,
when half of them is reached - or so.
new options (see awesomerc.5.txt for a more detailed description):
border_width
border_padding
fg_off
ticks_count
ticks_gap
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:02:37 +01:00
Julien Danjou
f00b0b850e
draw_textwidth() can use a const char *
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 15:55:45 +01:00
Julien Danjou
da119cda7d
Add alignment attribute to titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 17:42:45 +01:00
Julien Danjou
c39d8c2a7e
Add width and height option to titlebars
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 16:31:02 +01:00
Julien Danjou
60e36aee54
Add a workaround for cairo < 1.5
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 10:48:15 +01:00
Julien Danjou
8b411eb15d
Use pre-multiplied alpha for cairo rendering
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 10:26:35 +01:00
Julien Danjou
afa8591d50
Change opacity between 0 and 1 and update validation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 07:47:07 +01:00
Julien Danjou
ec96d4d1f8
Add and update doc for opacity_[un]focused, and switch to float
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 20:38:16 +01:00
Steffen Schulz
3b8cf66822
new directive opacity_focused=<int>
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 20:36:55 +01:00
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
de5d82b8c2
Use Imlib2 to load images
...
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
8d0e5b29a6
Cosmetic formating changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
2aebe166c7
Add support for styles in titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
2473de53b7
Removed unused options for titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
4a7e52cc27
Change draw_rotate() proto to directly render on the right Pixmap
2008-03-23 15:52:22 +01:00
Julien Danjou
098b5d40a5
Cosmetic
2008-03-23 15:52:22 +01:00
Julien Danjou
a3f9eb7af9
Revert "Add preliminary support for XPM format"
...
This reverts commit 5f8b538a5e4eeea159b26c3d0b943cac745ffdce.
2008-03-23 15:52:22 +01:00
Julien Danjou
df2555d9fe
Add preliminary support for XPM format
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
58402c9641
Add a_strcasecmp() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
c496df9fc6
Add support for mouse bindings on titlebars
2008-03-23 15:52:22 +01:00
Julien Danjou
393b6e1f88
Cosmetics
...
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
93c75433f9
Make icon in statusbar as CFG_ALIGNMENT
2008-03-23 15:52:21 +01:00
Julien Danjou
2a47aa7f0b
Add cfg_getalignment() functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
7b1ce042de
Add cfg_getposition() and cie to ease libconfuse compatibility
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
19656fc36d
Add a CFG_ALIGNMENT type and use it
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
fe8bd0bb5b
Implement a CFG_POSITION type and use it
2008-03-23 15:52:21 +01:00
Julien Danjou
f01a2ad47d
Check for alignment values in configuration file
2008-03-23 15:52:21 +01:00
Julien Danjou
532709ec3e
Add validate functions for positions
2008-03-23 15:52:21 +01:00
Julien Danjou
b748d114bf
Use common validation infra for mwfact upper and lower limits values
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
d4f08ae5ae
Force validation of some more values
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
marco candrian
214a5c4bfa
new graph-widget option: grow = <{right, left}>
...
Signed-off-by: Marco Candrian <mac@calmar.ws>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
44824e9ac7
Draw buf, not text
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Arnaud Fontaine
f75f16c325
Don't get ascent/descent informations about a font because it's not
...
useful at the moment (commented out).
2008-03-23 15:52:21 +01:00
Arnaud Fontaine
542a944361
Use Pango for fonts instead of Xft (which hasn't been ported yet to
...
XCB) to measure text.
2008-03-23 15:52:21 +01:00
marco candrian
29673467f9
change graph's style to draw_style
...
to prevent confusion with the other style {} sections,
and it might also better describes what is it used for..
2008-03-23 15:52:20 +01:00
marco candrian
0795334dd8
Font removed where style should be used now
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:19 +01:00
Julien Danjou
bc6656320d
Add support for text_align option in titlebars
2008-03-23 15:52:19 +01:00
Julien Danjou
f9f75629e1
Rule for titlebar applies event if we restart; set default to auto, which means off
2008-03-23 15:52:19 +01:00
Julien Danjou
cc56ccd2e9
Use section for titlebar parameters
2008-03-23 15:52:19 +01:00
Julien Danjou
8b217359e9
Rename Auto to Maybe in Fuzzy; add Auto as Position; add support for titlebar as rule
2008-03-23 15:52:19 +01:00
Julien Danjou
54c2170178
Add Auto value to Position
2008-03-23 15:52:19 +01:00
Julien Danjou
4cab3c2d05
Select for input in simplewindow
2008-03-23 15:52:19 +01:00
Julien Danjou
ea88e324a0
First titlebar support
2008-03-23 15:52:18 +01:00
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
c6eec955c8
Rename Area to area_t
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
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
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
e8e02d5a5d
Initialize a.prev to NULL
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
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
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
1fb61f54df
[awesome-menu] Remove command line option and add support for menu {} in conffile
2008-03-23 15:52:16 +01:00
marco candrian
04ff373a63
New progressbar option: vertical=<boolean>
...
if 'true', draws the whole progressbar-block vertically
instead of horizontally.
2008-03-23 15:52:16 +01:00
marco candrian
6216d25bc6
new progressbar option for reversing the drawing
...
inside a data section, with reverse=<boolean> it's possible to reverse the
drawing i.e instead of left to right, from right to left. etc.
2008-03-23 15:52:16 +01:00
marco candrian
ce7f77c8c5
data{} sections needs a unique title now
...
so like: data title {}
Used for widget_tell to individually address/change them
2008-03-23 15:52:16 +01:00
Julien Danjou
8a685bf177
Add mwfact_lower_limit and mwfact_upper_limit to configure limits of mwfact value
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:16 +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
e81bd8de02
Add a #prefix_list_next() function to lists functions
...
That may seem useless, but it's not.
2008-03-23 15:52:15 +01:00
Julien Danjou
867b2f0775
first version of awesome-menu
2008-03-23 15:52:15 +01:00
Julien Danjou
2b0de43885
Remove useless tab_border option.
2008-03-13 13:25:15 +01:00
Julien Danjou
a9d7a08c2e
Add support for ~ in include() from awesome
2008-03-09 20:01:32 +01:00
Julien Danjou
2fd1f0db66
Write our own cfg_awesome_include() function to do check before calling confuse's one
2008-03-09 18:31:16 +01:00
Julien Danjou
8b8fc8148f
add comments for simplewindow functions
2008-03-01 11:25:04 +01:00
Julien Danjou
950c9b0820
support for include() in configuration file
2008-02-29 09:54:03 +01:00
Julien Danjou
46b80552c6
add support for flex -> AlignFlex
2008-02-28 16:19:26 +01:00
Julien Danjou
46742a56e4
documentation update and some cosmetic
2008-02-27 09:32:45 +01:00
Julien Danjou
11b0982a58
rename awclient.[ch] to socket.[ch]
2008-02-27 09:07:52 +01:00
Julien Danjou
6fd3801ef0
rename awesome-version.[ch] to version.[ch]
2008-02-27 09:04:17 +01:00
Julien Danjou
c1f06b3d3f
documentation update
2008-02-27 09:00:42 +01:00
Julien Danjou
328e5d0d4e
rename screen to phys_screen to avoid confusion
2008-02-25 13:33:29 +01:00
marco candrian
73696a26a9
cairo_destroy() added
...
(at least partly related to: FS#68 - awesome eats cpu time)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-25 10:01:42 +01:00
Julien Danjou
1e3f3d9300
floating placement can be chosen by config
2008-02-13 18:04:20 +01:00
marco candrian
4ff0dae17e
trailing whitespaces removed
...
like:
find . -iname "*.txt" -o -iname "*.c" -o -iname "*.h" | xargs sed -i 's/\s\+$//'
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-13 09:05:10 +01:00
Julien Danjou
ae75f55acd
change draw_color_new() proto to fill the struct and return status
2008-02-13 08:58:21 +01:00
Julien Danjou
9390abcfb4
fix memory leak in smart_placement (with area_list_remove) and fix the algo
2008-02-11 17:15:28 +01:00
Julien Danjou
e244210943
return the right buffer, iconv modify one
2008-02-11 10:52:05 +01:00
Julien Danjou
1a643a20bd
simplify buf handling
2008-02-11 10:40:38 +01:00
Julien Danjou
321a481dce
return good pointer and free good pointer
2008-02-11 09:21:09 +01:00
Julien Danjou
fbce780003
check iso2utf8 return
2008-02-11 08:49:10 +01:00
Julien Danjou
44a0a1ee4e
make draw_text multibyte UTF-8 aware
2008-02-09 16:23:16 +01:00
Julien Danjou
0bfa880b0f
add align option to widget to specify their alignment
2008-02-08 10:59:55 +01:00
Julien Danjou
91f80b251c
rename align to text_align
2008-02-08 09:58:36 +01:00
Julien Danjou
170ed9882a
rename netwmicon to focusicon
2008-02-06 20:13:41 +01:00
Julien Danjou
ffbcea0084
remove focustitle widget
2008-02-06 20:05:14 +01:00