mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-05 20:26:09 +01:00
ec80635cbc
Also make the code surrounding this problem more legible, and remove Widget_ptr, which just confuses the issue.
21 lines
512 B
C
21 lines
512 B
C
#ifndef AWESOME_WIDGET_H
|
|
#define AWESOME_WIDGET_H
|
|
|
|
#include "config.h"
|
|
#include "draw.h"
|
|
|
|
enum { AlignLeft, AlignRight, AlignFlex };
|
|
|
|
typedef Widget *(WidgetConstructor)(Statusbar *);
|
|
|
|
int calculate_offset(int, int, int, int);
|
|
void calculate_alignments(Widget *widget);
|
|
|
|
Widget *layoutinfo_new(Statusbar*);
|
|
Widget *taglist_new(Statusbar*);
|
|
Widget *textbox_new(Statusbar*);
|
|
Widget *focustitle_new(Statusbar*);
|
|
|
|
#endif
|
|
|
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99
|