SimpleWindow
载入中...
搜索中...
未找到
ProgressBar.h
1#pragma once
2
3#include "Control.h"
4#include <commctrl.h>
5
6namespace sw
7{
11 enum class ProgressBarState {
12 Normal = 0x0001,
13 Error = 0x0002,
14 Paused = 0x0003,
15 };
16
54}
控件
Definition Control.h:12
值转换器接口
Definition IValueConverter.h:14
进度条控件
Definition ProgressBar.h:21
const Property< uint16_t > Maximum
进度范围的上限
Definition ProgressBar.h:31
const Property< bool > Vertical
是否显示为垂直进度条
Definition ProgressBar.h:46
ProgressBar()
初始化进度条
const Property< ProgressBarState > State
进度条状态
Definition ProgressBar.h:41
const Property< uint16_t > Value
当前进度值
Definition ProgressBar.h:36
const Property< uint16_t > Minimum
进度范围的下限
Definition ProgressBar.h:26
SimpleWindow框架的顶级命名空间,所有公共类型、控件、枚举和工具函数均定义于此。
Definition Alignment.h:4
ProgressBarState
进度条状态
Definition ProgressBar.h:11
@ Paused
暂停(PBST_PAUSED)
@ Normal
位图置于BmpBox左上角
@ Error
Error icon