Aldo Cortesi
f36a56cdcc
Refactor draw.c
...
This is a big patch that does not change any behaviour. We abstract the data
needed by the draw.c functions into a context object, and pass that around
instead of passing each argument every time. This results in a much cleaner API
- most functions lose 3-4 arguments.
This is a preparatory patch for further work on statusbar.
2007-12-15 09:30:29 +01:00
Julien Danjou
aacb020564
rename statusbar functions
2007-12-14 20:10:52 +01:00
Julien Danjou
b03cdbd877
remove nlayouts
2007-12-14 17:57:05 +01:00
Julien Danjou
84bb954004
rename statusbar uicb and add uicb_statusbar_set_position
2007-12-14 15:52:52 +01:00
Julien Danjou
5fa67c23df
split awesomeconf and screen config
...
a.k.a the big post-2.0 blind commit
2007-12-11 20:56:51 +01:00
Nathan Hüsken
9524f15478
Adding padding
2007-11-28 11:00:48 +01:00
Julien Danjou
8ad32d29c2
fix information headers
2007-10-17 10:53:32 +02:00
Julien Danjou
17bc4dc9a7
drawstatusbar does not need display as arg
2007-10-15 18:19:33 +02:00
Julien Danjou
a74ca1d1de
tabswidth is 4 not 6
2007-10-15 13:56:24 +02:00
Julien Danjou
4e0acfa99a
add coding style stuff
2007-10-15 13:40:52 +02:00
Julien Danjou
77609263dc
move txtlenwidth initlization in initstatusbar()
2007-10-15 12:06:43 +02:00
Julien Danjou
a6781157b6
allow to execute uicb function via awesome control fifo
2007-10-12 17:10:36 +02:00
Julien Danjou
e22b1e2a73
set statusbar->height in initstatusbar()
2007-10-11 18:43:42 +02:00
Julien Danjou
e733af41ec
remove drawcontext everywhere
2007-10-10 14:09:36 +02:00
Julien Danjou
2d0526696c
move cursors in awesome config
2007-10-10 13:29:46 +02:00
Julien Danjou
97a2085705
cosmetic: remove lines with empty spaces at end
2007-10-03 17:26:14 +02:00
Julien Danjou
894b341feb
simplfiy drawstatus() remove screen useless arg
2007-09-24 16:23:49 +02:00
Julien Danjou
c8373622ec
Add UICB_PROTO to common.h (new) to declare uicb_functions
2007-09-24 14:40:40 +02:00
Julien Danjou
dcec6aa749
remove screen arg from uicb*
2007-09-18 19:53:52 +02:00
Julien Danjou
933b0413ea
add screen arg to uicb*
2007-09-16 01:05:43 +02:00
Julien Danjou
53e5630c6c
add screen to drawstatusbar
2007-09-15 22:57:37 +02:00
Julien Danjou
48f17aa9f1
add initstatusbar() to init statusbar!
2007-09-15 22:25:49 +02:00
Julien Danjou
3e3f213b72
move uicb_togglebar to statusbar.c
2007-09-15 15:34:28 +02:00
Julien Danjou
56a387ec5c
move updatebarpos to statusbar.c
2007-09-15 15:26:51 +02:00
Julien Danjou
fe89aa31b0
create statusbar.c and move things from draw.c
2007-09-15 15:16:53 +02:00