i3
|
#include <config.h>
Go to the source code of this file.
Data Structures | |
struct | render_params |
This is used to keep a state to pass around when rendering a con in render_con(). More... | |
Typedefs | |
typedef struct render_params | render_params |
This is used to keep a state to pass around when rendering a con in render_con(). | |
Functions | |
void | render_con (Con *con) |
"Renders" the given container (and its children), meaning that all rects are updated correctly. | |
int | render_deco_height (void) |
Returns the height for the decorations. | |
typedef struct render_params render_params |
This is used to keep a state to pass around when rendering a con in render_con().
void render_con | ( | Con * | con | ) |
"Renders" the given container (and its children), meaning that all rects are updated correctly.
Note that this function does not call any xcb_* functions, so the changes are completely done in memory only (and side-effect free). As soon as you call x_push_changes(), the changes will be updated in X11.
Definition at line 43 of file render.c.
References Con::border_style, Con::border_width, gaps_t::bottom, BS_NORMAL, calculate_effective_gaps(), CF_GLOBAL, CF_NONE, CF_OUTPUT, render_params::children, con_border_style_rect(), con_get_fullscreen_con(), con_is_internal(), con_is_leaf(), con_num_children(), D_DOWN, D_LEFT, D_RIGHT, D_UP, render_params::deco_height, Con::deco_rect, DLOG, focused, FREE, Con::fullscreen_mode, gaps_has_adjacent_container(), gaps_should_inset_con(), Rect::height, gaps_t::inner, L_DOCKAREA, L_OUTPUT, L_SPLITH, L_SPLITV, L_STACKED, L_TABBED, Con::layout, gaps_t::left, Con::mapped, Con::name, precalculate_sizes(), Con::rect, render_params::rect, rect_add(), rect_sanitize_dimensions(), render_con(), render_con_dockarea(), render_con_split(), render_con_stacked(), render_con_tabbed(), render_deco_height(), render_output(), render_root(), gaps_t::right, render_params::sizes, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, gaps_t::top, Con::type, Rect::width, Con::window, Con::window_rect, Rect::x, render_params::x, x_raise_con(), Rect::y, and render_params::y.
Referenced by cmd_append_layout(), DRAGGING_CB(), DRAGGING_CB(), floating_enable(), manage_window(), render_con(), render_output(), render_root(), and tree_render().
int render_deco_height | ( | void | ) |
Returns the height for the decorations.
Definition at line 27 of file render.c.
References config, Config::font, and Font::height.
Referenced by con_border_style_rect(), DRAGGING_CB(), handle_client_message(), render_con(), and window_update_icon().