Commit graph

172 commits

Author SHA1 Message Date
Julien Danjou
1d6613349e typedef enum Alignment 2008-01-04 19:17:20 +01:00
Julien Danjou
c4e88f9928 add new tasklist widget 2008-01-03 12:39:28 +01:00
Julien Danjou
f7f6951957 allow to have several statusbar 2007-12-30 21:00:34 +01:00
Julien Danjou
c900e37843 add mouse bindings to status bar 2007-12-27 15:49:00 +01:00
Julien Danjou
ddbdbb2ed3 new width: progressbar 2007-12-23 14:27:56 +01:00
Julien Danjou
c59ecf0127 use a_strdup 2007-12-23 13:43:12 +01:00
Julien Danjou
b0a8522466 rename a bunch of widget functions 2007-12-22 20:55:17 +01:00
Julien Danjou
8c898256b1 new widget: add support for netwmicon 2007-12-22 19:32:47 +01:00
Julien Danjou
9df4429ae3 cosmetics and add copyright 2007-12-22 15:46:57 +01:00
Julien Danjou
3f3748d4bd new widget to draw icons from PNG image 2007-12-22 15:37:43 +01:00
Aldo Cortesi
7190e4fa48 Change awesome_config -> AwesomeConf.
All other struct definitions in the project follow this naming convention.
2007-12-19 10:43:02 +01:00
Aldo Cortesi
980afac1cf Make sure all uicb_ functions have doxygen annotations.
Also refactor some indentation while I'm there.
2007-12-19 10:42:34 +01:00
Aldo Cortesi
ce556ec743 The preferred line length is 80 characters. 2007-12-18 11:27:26 +01:00
Aldo Cortesi
205f2c55ca Make "Statusbar statusbar" the in VirtScreen "Statusbar *statusbar". This is
more consistent with the rest of the interface, and will make our life easier
when we have mulitiple statusbars per screen.
2007-12-18 11:26:18 +01:00
Aldo Cortesi
4723ab3627 This patch is a first draft of independently targetable textboxes, and a
protocol to speak to them. Given a textbox widget definition like this:

        textbox mail {
            default = 0
        }
        textbox time {}

We can update the boxes individually by going:

    echo 0 tell_widget mail 10
    echo 0 tell_widget time 12:01

Text boxes will dynamically resize to fit their contents. A textbox can be
cleared by going:

    echo 0 tell_widget name

A text-box containing no text will take up 0 space in the bar, i.e. it will not
be visible at all

Textboxes now supersede statusbar_set_text, so this call has been removed.
2007-12-17 18:22:05 +01:00
Aldo Cortesi
7385815927 Add basic framework for uicb_widget_tell. For now, it does nothing, but stay
tuned.
2007-12-17 18:19:39 +01:00
Aldo Cortesi
5923c90aaa Solidify widgets.
Factor out common initialisation into a common_new function. Copy the section
title into the Widget title attribute.
2007-12-16 12:57:47 +01:00
Aldo Cortesi
8880a3804e Simplify widget draw interface. 2007-12-16 12:54:42 +01:00
Julien Danjou
ae7b2ed9d0 finish with NULL 2007-12-15 20:22:20 +01:00
Julien Danjou
602f921559 first try to get widget configurable 2007-12-15 18:21:02 +01:00
Julien Danjou
bf20f9cee9 rework widget.c 2007-12-15 13:37:34 +01:00
Aldo Cortesi
76ddf235ac Widget-ise the statusbar.
We now have the beginnings of a flexible widget structure for the statusbar.
For now, there is no behavioural change, and the interface is a bit crude, but
watch this space!
2007-12-15 10:15:42 +01:00