2 * i3bar - an xcb-based status- and ws-bar for i3
4 * © 2010 Axel Wagner and contributors
6 * See file LICNSE for license information
15 * Initialize xcb and use the specified fontname for text-rendering
21 * Cleanup the xcb-stuff.
22 * Called once, before the program terminates.
28 * Get the earlier requested atoms and save them in the prepared data-structure
34 * Destroy the bar of the specified output
37 void destroy_window(i3_output *output);
40 * Reconfigure all bars and create new for newly activated outputs
43 void reconfig_windows();
46 * Render the bars, with buttons and statusline
52 * Calculate the rendered width of a string with the configured font.
53 * The string has to be encoded in ucs2 and glyph_len has to be the length
54 * of the string (in width)
57 int get_string_width(xcb_char2b_t *string, int glyph_len);