Cleanup indentation with clang-format and changed a few variable names

This commit is contained in:
o9000
2015-11-20 23:28:37 +01:00
parent c0e62e2e79
commit 4a6937826c
51 changed files with 4145 additions and 3789 deletions

View File

@@ -22,26 +22,24 @@
#include "panel.h"
#include "timer.h"
typedef struct {
Area* area; // never ever use the area attribut if you are not 100% sure that this area was not freed
char* tooltip_text;
Panel* panel;
Area *area; // never ever use the area attribut if you are not 100% sure that this area was not freed
char *tooltip_text;
Panel *panel;
Window window;
int show_timeout_msec;
int hide_timeout_msec;
Bool mapped;
int paddingx;
int paddingy;
PangoFontDescription* font_desc;
PangoFontDescription *font_desc;
Color font_color;
Background* bg;
timeout* timeout;
Background *bg;
timeout *timeout;
} Tooltip;
extern Tooltip g_tooltip;
// default global data
void default_tooltip();
@@ -49,11 +47,11 @@ void default_tooltip();
void cleanup_tooltip();
void init_tooltip();
void tooltip_trigger_show(Area* area, Panel* p, XEvent *e);
void tooltip_show(void* /*arg*/);
void tooltip_trigger_show(Area *area, Panel *p, XEvent *e);
void tooltip_show(void * /*arg*/);
void tooltip_update();
void tooltip_trigger_hide();
void tooltip_hide(void* /*arg*/);
void tooltip_copy_text(Area* area);
void tooltip_hide(void * /*arg*/);
void tooltip_copy_text(Area *area);
#endif // TOOLTIP_H