MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
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 87 of file newtoolbar.h.

Field Documentation

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 119 of file newtoolbar.h.

PBITMAP image

Images for displaying tool bar item.

Definition at line 90 of file newtoolbar.h.

int nr_cells

Number of bitmap cells in the image.

Definition at line 93 of file newtoolbar.h.

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 107 of file newtoolbar.h.

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 113 of file newtoolbar.h.


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