mGUtils API Reference  v1.2.2
A component of MiniGUI providing users with a number of common dialog templates
Data Fields
skin_item_ops_s Struct Reference

#include <mgutils.h>

Data Fields

int(* init )(skin_head_t *, skin_item_t *)
 
int(* deinit )(skin_item_t *)
 
int(* on_create )(skin_item_t *)
 
int(* on_destroy )(skin_item_t *)
 
void(* draw_bg )(HDC, skin_item_t *)
 
void(* draw_attached )(HDC, skin_item_t *)
 
DWORD(* get_value )(skin_item_t *item)
 
DWORD(* set_value )(skin_item_t *item, DWORD status)
 
int(* item_msg_proc )(skin_item_t *item, int message, WPARAM wparam, LPARAM lparam)
 

Detailed Description

Skin item operations

Definition at line 1444 of file mgutils.h.

Field Documentation

◆ deinit

int(* deinit) (skin_item_t *)

Operations for deinitialization.

Definition at line 1449 of file mgutils.h.

◆ draw_attached

void(* draw_attached) (HDC, skin_item_t *)

Operations for item drawing.

Definition at line 1459 of file mgutils.h.

◆ draw_bg

void(* draw_bg) (HDC, skin_item_t *)

Operations for item drawing.

Definition at line 1457 of file mgutils.h.

◆ get_value

DWORD(* get_value) (skin_item_t *item)

Operations for getting item value. For button item, value is the click status, non-zero for clicked or checked. For slider, value is the position. For label item, value is the label text. For control item, value is the handle to control.

Definition at line 1468 of file mgutils.h.

◆ init

int(* init) (skin_head_t *, skin_item_t *)

Operations for initialization.

Definition at line 1447 of file mgutils.h.

◆ item_msg_proc

int(* item_msg_proc) (skin_item_t *item, int message, WPARAM wparam, LPARAM lparam)

Item msg proc

Definition at line 1479 of file mgutils.h.

◆ on_create

int(* on_create) (skin_item_t *)

Operations when creating the skin window.

Definition at line 1452 of file mgutils.h.

◆ on_destroy

int(* on_destroy) (skin_item_t *)

Operations when destroying the skin window.

Definition at line 1454 of file mgutils.h.

◆ set_value

DWORD(* set_value) (skin_item_t *item, DWORD status)

Operations for setting item value. For button item, value is the click status, non-zero for clicked or checked. For slider, value is the position. For label item, value is the label text. For control item, value is the handle to control.

Definition at line 1476 of file mgutils.h.


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