i3
Functions
render.c File Reference
#include "all.h"
Include dependency graph for render.c:

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)
 
int render_deco_height (void)
 
void render_con (Con *con, bool render_fullscreen)
 "Renders" the given container (and its children), meaning that all rects are updated correctly. More...
 

Function Documentation

◆ precalculate_sizes()

static int * precalculate_sizes ( Con con,
render_params p 
)
static

Definition at line 185 of file render.c.

References render_params::children, con_orientation(), Rect::height, HORIZ, L_SPLITH, L_SPLITV, Con::layout, Con::nodes_head, Con::percent, render_params::rect, smalloc(), TAILQ_EMPTY, TAILQ_FOREACH, and Rect::width.

Referenced by render_con().

Here is the call graph for this function:

◆ render_con()

void render_con ( Con con,
bool  render_fullscreen 
)

◆ render_con_dockarea()

static void render_con_dockarea ( Con con,
Con child,
render_params p 
)
static

◆ render_con_split()

static void render_con_split ( Con con,
Con child,
render_params p,
int  i 
)
static

◆ render_con_stacked()

static void render_con_stacked ( Con con,
Con child,
render_params p,
int  i 
)
static

◆ render_con_tabbed()

static void render_con_tabbed ( Con con,
Con child,
render_params p,
int  i 
)
static

◆ render_deco_height()

int render_deco_height ( void  )

Definition at line 25 of file render.c.

References config, Config::font, and Font::height.

Referenced by con_set_border_style(), floating_check_size(), floating_enable(), and render_con().

◆ render_output()

static void render_output ( Con con)
static

Definition at line 295 of file render.c.

References CF_OUTPUT, con_get_fullscreen_con(), Con::deco_rect, DLOG, Con::geometry, height, Rect::height, Con::nodes_head, Con::rect, render_con(), TAILQ_FOREACH, Con::type, Rect::width, x, Rect::x, x_raise_con(), y, and Rect::y.

Referenced by render_con().

Here is the call graph for this function:

◆ render_root()

static void render_root ( Con con,
Con fullscreen 
)
static