NetSurf
Public Types | Data Fields
column Struct Reference

Table column data. More...

#include <box.h>

Public Types

enum  {
  COLUMN_WIDTH_UNKNOWN , COLUMN_WIDTH_FIXED , COLUMN_WIDTH_AUTO , COLUMN_WIDTH_PERCENT ,
  COLUMN_WIDTH_RELATIVE
}
 Type of column. More...
 

Data Fields

enum column:: { ... }  type
 Type of column. More...
 
int width
 Preferred width of column. More...
 
int min
 Minimum width of content. More...
 
int max
 Maximum width of content. More...
 
bool positioned
 Whether all of column's cells are css positioned. More...
 

Detailed Description

Table column data.

Definition at line 114 of file box.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Type of column.

Enumerator
COLUMN_WIDTH_UNKNOWN 
COLUMN_WIDTH_FIXED 
COLUMN_WIDTH_AUTO 
COLUMN_WIDTH_PERCENT 
COLUMN_WIDTH_RELATIVE 

Definition at line 118 of file box.h.

Field Documentation

◆ max

int column::max

Maximum width of content.

Definition at line 140 of file box.h.

Referenced by box_dump(), layout_minmax_table(), and layout_table().

◆ min

int column::min

Minimum width of content.

Definition at line 135 of file box.h.

Referenced by box_dump(), layout_minmax_table(), and layout_table().

◆ positioned

bool column::positioned

Whether all of column's cells are css positioned.

Definition at line 145 of file box.h.

Referenced by box_dump(), layout_table(), and table_calculate_column_types().

◆ 

enum { ... } column::type

Type of column.

Referenced by box_dump(), layout_table(), and table_calculate_column_types().

◆ width

int column::width

Preferred width of column.

Pixels for FIXED, percentage for PERCENT, relative units for RELATIVE, unused for AUTO.

Definition at line 130 of file box.h.

Referenced by box_dump(), layout_minmax_table(), layout_table(), and table_calculate_column_types().


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