Blender V4.3
blender::ed::spreadsheet::SpreadsheetDrawer Class Reference

#include <spreadsheet_draw.hh>

Inherited by blender::ed::spreadsheet::SpreadsheetLayoutDrawer.

Public Member Functions

 SpreadsheetDrawer ()
 
virtual ~SpreadsheetDrawer ()
 
virtual void draw_top_row_cell (int column_index, const CellDrawParams &params) const
 
virtual void draw_left_column_cell (int row_index, const CellDrawParams &params) const
 
virtual void draw_content_cell (int row_index, int column_index, const CellDrawParams &params) const
 
virtual int column_width (int column_index) const
 

Public Attributes

int left_column_width
 
int top_row_height
 
int row_height
 
int tot_rows = 0
 
int tot_columns = 0
 

Detailed Description

Definition at line 21 of file spreadsheet_draw.hh.

Constructor & Destructor Documentation

◆ SpreadsheetDrawer()

blender::ed::spreadsheet::SpreadsheetDrawer::SpreadsheetDrawer ( )

Definition at line 22 of file spreadsheet_draw.cc.

References left_column_width, row_height, top_row_height, UI_UNIT_X, and UI_UNIT_Y.

◆ ~SpreadsheetDrawer()

blender::ed::spreadsheet::SpreadsheetDrawer::~SpreadsheetDrawer ( )
virtualdefault

Member Function Documentation

◆ column_width()

◆ draw_content_cell()

void blender::ed::spreadsheet::SpreadsheetDrawer::draw_content_cell ( int row_index,
int column_index,
const CellDrawParams & params ) const
virtual

◆ draw_left_column_cell()

void blender::ed::spreadsheet::SpreadsheetDrawer::draw_left_column_cell ( int row_index,
const CellDrawParams & params ) const
virtual

◆ draw_top_row_cell()

void blender::ed::spreadsheet::SpreadsheetDrawer::draw_top_row_cell ( int column_index,
const CellDrawParams & params ) const
virtual

Member Data Documentation

◆ left_column_width

◆ row_height

◆ top_row_height

◆ tot_columns

◆ tot_rows


The documentation for this class was generated from the following files: