BitmapButtonStruct Class Reference

#include <customgui_bitmapbutton.h>

Inheritance diagram for BitmapButtonStruct:

详细描述

Bitmap button data type ( CUSTOMDATATYPE_BITMAPBUTTON ) for BitmapButtonCustomGui .

注意
Used to get a bitmap button in the Attribute Manager. Specify an object, op , that provides an icon through the MSG_DESCRIPTION_GETBITMAP message.

公共成员函数

  BitmapButtonStruct ()
  BitmapButtonStruct ( BaseList2D *t_op, const DescID &t_id, Int32 t_dirty)

Public Attributes

BaseList2D op
DescID   _id
Int32   dirty
Int32   reserved

构造函数 & 析构函数文档编制

◆  BitmapButtonStruct() [1/2]

BitmapButtonStruct ( )

Default constructor.

◆  BitmapButtonStruct() [2/2]

BitmapButtonStruct ( BaseList2D t_op ,
const DescID t_id ,
Int32   t_dirty  
)

Creates a bitmap button data.

参数
[in] t_op The object to send MSG_DESCRIPTION_GETBITMAP to.
[in] t_id The ID for the DescriptionGetBitmap::id field.
[in] t_dirty The dirty flag. Internally used to detect changes. If this flag changes on parameter set, a new MSG_DESCRIPTION_GETBITMAP will be emitted.

Member Data Documentation

◆  op

BaseList2D * op

The object to send MSG_DESCRIPTION_GETBITMAP to.

◆  _id

DescID _id

The ID for the DescriptionGetBitmap::id field.

◆  dirty

Int32 dirty

The dirty flag. Not used by the implementation. Use this to know when the image needs to be updated.

◆  reserved

Int32 reserved

Internal .