NetSurf
Data Structures | Data Fields
flex_ctx Struct Reference

Flex layout context. More...

Collaboration diagram for flex_ctx:
[legend]

Data Structures

struct  flex_items
 
struct  flex_lines
 

Data Fields

html_contentcontent
 
const struct boxflex
 
const css_unit_ctx * unit_len_ctx
 
int main_size
 
int cross_size
 
int available_main
 
int available_cross
 
bool horizontal
 
bool main_reversed
 
enum css_flex_wrap_e wrap
 
struct flex_ctx::flex_items item
 
struct flex_ctx::flex_lines line
 

Detailed Description

Flex layout context.

Definition at line 92 of file layout_flex.c.

Field Documentation

◆ available_cross

int flex_ctx::available_cross

Definition at line 101 of file layout_flex.c.

Referenced by layout_flex(), and layout_flex__place_lines().

◆ available_main

int flex_ctx::available_main

◆ content

html_content* flex_ctx::content

Definition at line 93 of file layout_flex.c.

Referenced by layout_flex_ctx__create(), and layout_flex_item().

◆ cross_size

int flex_ctx::cross_size

◆ flex

const struct box* flex_ctx::flex

◆ horizontal

bool flex_ctx::horizontal

◆ item

struct flex_ctx::flex_items flex_ctx::item

◆ line

struct flex_ctx::flex_lines flex_ctx::line

◆ main_reversed

bool flex_ctx::main_reversed

◆ main_size

int flex_ctx::main_size

Definition at line 97 of file layout_flex.c.

Referenced by layout_flex(), and layout_flex__collect_items_into_lines().

◆ unit_len_ctx

const css_unit_ctx* flex_ctx::unit_len_ctx

◆ wrap

enum css_flex_wrap_e flex_ctx::wrap

The documentation for this struct was generated from the following file: