MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_GRIDCELLDATA Struct Reference

#include <gridview.h>

Data Fields

DWORD mask
 
DWORD style
 
gal_pixel color_fg
 
gal_pixel color_bg
 
PLOGFONT font
 
PBITMAP image
 
void * content
 

Detailed Description

Struct of the cell

Definition at line 259 of file gridview.h.

Field Documentation

gal_pixel color_bg

The background color

Definition at line 286 of file gridview.h.

gal_pixel color_fg

Text color

Definition at line 284 of file gridview.h.

void* content

The concrete data of one cell

Definition at line 292 of file gridview.h.

PLOGFONT font

Text font

Definition at line 288 of file gridview.h.

PBITMAP image

Pointer to the bitmap of one cell

Definition at line 290 of file gridview.h.

DWORD mask

Mask of properties, can be OR'ed with following values: Set or get a cell style

  • GVITEM_STYLE
    Set or get a cell text color
  • GVITEM_FGCOLOR
    Set or get a cell background color
  • GVITEM_BGCOLOR
    Set or get a cell text font
  • GVITEM_FONT
    Set or get a cell's image
  • GVITEM_IMAGE
    Set or get all of the content of a cell
  • GVITEM_ALLCONTENT
    Set or get the main content of a cell
  • GVITEM_MAINCONTENT
    Set or get the header size
  • GVITEM_SIZE

Definition at line 279 of file gridview.h.

DWORD style

The style of the cell

Definition at line 282 of file gridview.h.


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