|
i3
|
#include "all.h"
Go to the source code of this file.
Functions | |
| static int * | precalculate_sizes (Con *con, render_params *p) |
| static void | render_root (Con *con, Con *fullscreen) |
| static void | render_output (Con *con) |
| static void | render_con_split (Con *con, Con *child, render_params *p, int i) |
| static void | render_con_stacked (Con *con, Con *child, render_params *p, int i) |
| static void | render_con_tabbed (Con *con, Con *child, render_params *p, int i) |
| static void | render_con_dockarea (Con *con, Con *child, render_params *p) |
| bool | should_inset_con (Con *con, int children) |
| bool | has_adjacent_container (Con *con, direction_t direction) |
| int | render_deco_height (void) |
| Returns the height for the decorations. More... | |
| void | render_con (Con *con, bool already_inset) |
| "Renders" the given container (and its children), meaning that all rects are updated correctly. More... | |
| bool has_adjacent_container | ( | Con * | con, |
| direction_t | direction | ||
| ) |
Definition at line 496 of file render.c.
References CF_GLOBAL, CF_OUTPUT, con_get_fullscreen_con(), con_get_workspace(), con_has_parent(), and resize_find_tiling_participants().
Referenced by render_con().

|
static |
Definition at line 185 of file render.c.
References render_params::children, con_rect_size_in_orientation(), L_SPLITH, L_SPLITV, Con::layout, Con::nodes_head, Con::percent, smalloc(), TAILQ_EMPTY, and TAILQ_FOREACH.
Referenced by render_con().

| void render_con | ( | Con * | con, |
| bool | already_inset | ||
| ) |
"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 42 of file render.c.
References Con::border_width, gaps_t::bottom, calculate_effective_gaps(), CF_GLOBAL, CF_NONE, CF_OUTPUT, render_params::children, con_border_style_rect(), con_get_fullscreen_con(), con_is_internal(), con_num_children(), D_DOWN, D_LEFT, D_RIGHT, D_UP, render_params::deco_height, Con::deco_rect, DLOG, Con::focus_head, focused, FREE, Con::fullscreen_mode, has_adjacent_container(), 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, Con::nodes_head, precalculate_sizes(), render_params::rect, Con::rect, rect_add(), render_con(), render_con_dockarea(), render_con_split(), render_con_stacked(), render_con_tabbed(), render_deco_height(), render_output(), render_root(), gaps_t::right, should_inset_con(), render_params::sizes, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, gaps_t::top, Con::type, Rect::width, Con::window, Con::window_rect, render_params::x, Rect::x, x_raise_con(), render_params::y, and Rect::y.
Referenced by cmd_append_layout(), DRAGGING_CB(), floating_enable(), manage_window(), render_con(), render_output(), render_root(), and tree_render().

|
static |
Definition at line 462 of file render.c.
References Con::deco_rect, Con::geometry, Rect::height, L_DOCKAREA, Con::layout, render_params::rect, Con::rect, Rect::width, render_params::x, Rect::x, render_params::y, and Rect::y.
Referenced by render_con().
|
static |
Definition at line 378 of file render.c.
References Con::border_style, BS_NORMAL, con_is_leaf(), render_params::deco_height, Con::deco_rect, Rect::height, L_SPLITH, L_SPLITV, Con::layout, render_params::rect, Con::rect, render_params::sizes, Rect::width, render_params::x, Rect::x, render_params::y, and Rect::y.
Referenced by render_con().

|
static |
Definition at line 416 of file render.c.
References Con::border_style, BS_NONE, BS_PIXEL, render_params::children, render_params::deco_height, Con::deco_rect, Rect::height, L_STACKED, Con::layout, render_params::rect, Con::rect, Rect::width, render_params::x, Rect::x, render_params::y, and Rect::y.
Referenced by render_con().
|
static |
Definition at line 435 of file render.c.
References Con::border_style, BS_NONE, BS_PIXEL, render_params::children, render_params::deco_height, Con::deco_rect, Rect::height, L_TABBED, Con::layout, render_params::rect, Con::rect, Rect::width, render_params::x, Rect::x, render_params::y, and Rect::y.
Referenced by render_con().
| 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_set_border_style(), floating_check_size(), floating_enable(), handle_client_message(), and render_con().
|
static |
Definition at line 294 of file render.c.
References CF_OUTPUT, con_get_fullscreen_con(), Con::deco_rect, DLOG, Con::geometry, Rect::height, Con::nodes_head, Con::rect, render_con(), TAILQ_FOREACH, Con::type, Rect::width, Rect::x, x_raise_con(), y, and Rect::y.
Referenced by render_con().

Definition at line 214 of file render.c.
References con_by_window_id(), con_descend_focused(), con_get_fullscreen_covering_ws(), con_is_internal(), config, DLOG, Con::floating_head, Con::focus_head, Rect::height, Window::id, Con::nodes_head, output_get_content(), Config::popup_during_fullscreen, Con::rect, render_con(), TAILQ_EMPTY, TAILQ_FIRST, TAILQ_FOREACH, Window::transient_for, Rect::width, Con::window, Rect::x, x_raise_con(), and Rect::y.
Referenced by render_con().

| bool should_inset_con | ( | Con * | con, |
| int | children | ||
| ) |
Definition at line 480 of file render.c.
References con_is_leaf(), L_STACKED, L_TABBED, Con::layout, and Con::type.
Referenced by render_con().

1.8.18