Commit Graph

931 Commits

Author SHA1 Message Date
calmar 3ec0618472 Some awesomerc info add-ons.
also some explanation about the usage/setup of the widgets
2007-12-26 21:54:27 +01:00
Julien Danjou a0e7aee072 introduce get_current_tags() and deprecate get_current_{tag,layout}() 2007-12-23 16:28:40 +01:00
Julien Danjou 58a3c0c494 add new UICB: uicb_focus_client_byname 2007-12-23 16:16:02 +01:00
Julien Danjou d5d9439777 add support for Urgency hint 2007-12-23 15:16:10 +01:00
Julien Danjou 2906ead93c better computing for margin 2007-12-23 14:51:55 +01:00
Julien Danjou ddbdbb2ed3 new width: progressbar 2007-12-23 14:27:56 +01:00
Julien Danjou d428982af7 simplify 2007-12-23 13:46:36 +01:00
Julien Danjou c59ecf0127 use a_strdup 2007-12-23 13:43:12 +01:00
Julien Danjou 07a5fd6774 cosmetic 2007-12-23 09:56:41 +01:00
Julien Danjou a981d984a2 remove ScreenInfo typedef and move Area into screen.h 2007-12-23 09:55:46 +01:00
Aldo Cortesi 5f079ef73e Clean get_screen_info and get_display_info.
Besides making these functions much nicer to use, this fixes a number of
things:

- Clients now don't have to free the returned structures.

- The ScreenInfo allocated by XineramaQueryScreens should be freed with XFree,
  not p_delete.

This patch also introduces an abstract Area type that will be very useful.
2007-12-23 09:53:50 +01:00
Aldo Cortesi 51379e065b Clean interface of statusbar_update_position. 2007-12-23 09:51:44 +01:00
Julien Danjou 10200477c8 change info in copyright 2007-12-22 20:55:39 +01:00
Julien Danjou b0a8522466 rename a bunch of widget functions 2007-12-22 20:55:17 +01:00
Julien Danjou c232576631 rename a bunch of draw functions 2007-12-22 20:17:24 +01:00
Julien Danjou e72a278080 allow to shrink net_wm_icon to statusbar size 2007-12-22 20:14:13 +01:00
Julien Danjou 557cb90ff0 add netwmicon in default configuration 2007-12-22 19:44:47 +01:00
Julien Danjou a45f64a9e9 proper alignement 2007-12-22 19:44:23 +01:00
Julien Danjou e1d48e6c04 cosmetic 2007-12-22 19:44:01 +01:00
Julien Danjou 8c898256b1 new widget: add support for netwmicon 2007-12-22 19:32:47 +01:00
Julien Danjou afe32e27f0 renders right widget from last to first 2007-12-22 16:49:21 +01:00
Julien Danjou 1bc6d1dc2f cosmetic 2007-12-22 16:25:22 +01:00
Julien Danjou 9df4429ae3 cosmetics and add copyright 2007-12-22 15:46:57 +01:00
Julien Danjou 5dfd96a3f2 add copyright 2007-12-22 15:43:48 +01:00
Julien Danjou 1a1c75b4bd add copyright 2007-12-22 15:42:34 +01:00
Julien Danjou e505b76062 cosmetic + copyright 2007-12-22 15:41:28 +01:00
Julien Danjou 70707a37ad push iconbox.c 2007-12-22 15:38:14 +01:00
Julien Danjou 3f3748d4bd new widget to draw icons from PNG image 2007-12-22 15:37:43 +01:00
Julien Danjou 55be368539 cosmetic 2007-12-22 15:30:23 +01:00
Julien Danjou 88e8002045 add Aldo as AUTHORS 2007-12-19 10:44:41 +01:00
Aldo Cortesi 750cf96eeb Remove un-needed function. 2007-12-19 10:43:27 +01:00
Aldo Cortesi 4d4001b41f Clean interface of statusbar_init. 2007-12-19 10:43:15 +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 76a7d91f39 Make doxygen documentation less cluttered. 2007-12-19 10:42:43 +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 cbf5c474c1 Documentation generation fixes.
- Fix many instances of incorrect and incomplete doxygen annotations.
- Teach doxygen not to complain when it comes accross gcc __attribute__
specifications.
- Turn off graph generation by default.
- Make doxygen quiet, so we can actually see warnings when they occur.
2007-12-19 10:42:24 +01:00
Aldo Cortesi 4664fba970 Remove single occurance of die, and then remove die itself. 2007-12-19 10:42:00 +01:00
Aldo Cortesi 9bb28772ed Make textbox foreground and background configurable. 2007-12-19 10:41:50 +01:00
Julien Danjou eb57f68ed3 fix compilation errors with new globalconf stuff 2007-12-18 11:29:02 +01:00
Aldo Cortesi ce556ec743 The preferred line length is 80 characters. 2007-12-18 11:27:26 +01:00
Aldo Cortesi 965cbb7e0b Continue to simplify interfaces that require arguments in globalconf.
Today I focus on screen.c.
2007-12-18 11:26:39 +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 21fe1add9e Make drawtext interface more general. 2007-12-18 11:25:50 +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 ff84907b38 Use WidgetList for lookups, rather than recreating the data. 2007-12-17 18:21:59 +01:00
Aldo Cortesi 86521c57a6 Add more requirements to README. 2007-12-17 18:21:47 +01:00
Aldo Cortesi d5fd96dbd2 Refactor the focus.c interface to use globalconf. 2007-12-17 18:21:42 +01:00
Aldo Cortesi b6bfd1a4d0 The arg to uicb_ functions is no longer const. 2007-12-17 18:19:44 +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
Julien Danjou 3af4117039 declare real_display as const 2007-12-17 12:26:09 +01:00