MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_NTBINFO Struct Reference

#include <newtoolbar.h>

Data Fields

PBITMAP image
 
int nr_cells
 
int nr_cols
 
int w_cell
 
int h_cell
 

Detailed Description

Structure of the newtoolbar control information

Definition at line 99 of file newtoolbar.h.

Field Documentation

◆ h_cell

int h_cell

Height of bitmap cell. If h_cell is zero, it will be equal to (height_of_image / nr_cells).

Definition at line 131 of file newtoolbar.h.

◆ image

PBITMAP image

Images for displaying tool bar item.

Definition at line 102 of file newtoolbar.h.

◆ nr_cells

int nr_cells

Number of bitmap cells in the image.

Definition at line 105 of file newtoolbar.h.

◆ nr_cols

int nr_cols

Number of cell columns in the image. It should be one of the following values:

  • 0, 4
    Four rows, the cells have normal, highlight, pushed, and disabled states.
  • 1
    The cells have only normal state.
  • 2
    The cells have normal and highlight states.
  • 3
    The cells have normal, highlight, and pushed states.

Definition at line 119 of file newtoolbar.h.

◆ w_cell

int w_cell

Width of bitmap cell. If w_cell is zero, it will be equal to (width_of_image / nr_cols).

Definition at line 125 of file newtoolbar.h.


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