88 lines
4.5 KiB
Plaintext
88 lines
4.5 KiB
Plaintext
compile insert PS_ProgressBar_Equates
|
|
/*
|
|
** Copyright (C) 2013-2023 Revelation Software Inc. All Rights Reserved **
|
|
|
|
Author : Wile C Coyote - Super Genius
|
|
Date : May 2013
|
|
Purpose : Constants for working with PS PROGRESSBAR object structures
|
|
|
|
|
|
Comments
|
|
========
|
|
|
|
|
|
Amended Date Reason
|
|
======= ==== ======
|
|
Mr C 13 Apr 23 Updated PS styles
|
|
Mr C 01 Jul 16 Added PS_PRG_RANGE_FROM$ and PS_PRG_RANGE_TO$
|
|
Mr C 17 Mar 16 Added VALUE property to structures
|
|
*/
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _PS_PROGRESSBAR_EQUATES_
|
|
#define _PS_PROGRESSBAR_EQUATES_
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
$insert msWin_ProgressBar_Equates
|
|
$insert ps_Equates
|
|
$insert oiwin_Equates
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1>
|
|
//
|
|
// PBS_SMOOTH -> SMOOTH property
|
|
// PBS_VERTICAL -> VERTICAL property
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// PS Style equates
|
|
equ PSS_PROGRESSBAR_SYNCTASKBAR$ to 0x00000080 ; * // SYNCTASKBAR property
|
|
equ PSS_PROGRESSBAR_PULSE_GO$ to 0x00000100 ; * // Runtime flag
|
|
equ PSS_PROGRESSBAR_PULSE_WAIT$ to 0x00000200 ; * // Runtime flag
|
|
equ PSS_PROGRESSBAR_SHOWTEXT$ to 0x00000400 ; * // SHOWTEXT property
|
|
equ PSS_PROGRESSBAR_NOBORDER$ to 0x00000800 ; * // BORDER property
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// SYSREPOSWINS structure overrides
|
|
|
|
equ POS_PRB_VALUE$ to POS_VALUE$ ; * // VALUE property
|
|
equ POS_PRB_RANGE$ to POS_SCROLLRANGE$ ; * // RANGE property for progress bars
|
|
equ POS_PRB_STEP$ to POS_SCROLLCHANGE$ ; * // <0,0,1> == STEP property for progress bars;
|
|
equ POS_PRB_SMOOTHTIMER$ to POS_CHARCOUNT$ ; * // SMOOTHTIMER property
|
|
equ POS_PRB_STATE$ to POS_NUMCOLS$ ; * // STATE for Progress Bars (1,2,3)
|
|
equ POS_PRB_MARQUEE$ to POS_ROWLIMIT$ ; * // MARQUEE property (ms)
|
|
equ POS_PRB_NORMALCOLOR$ to POS_COLOR_1$ ; * // NORMALCOLOR property
|
|
equ POS_PRB_ERRORCOLOR$ to POS_COLOR_2$ ; * // ERRORCOLOR property
|
|
equ POS_PRB_PAUSEDCOLOR$ to POS_COLOR_3$ ; * // PAUSEDCOLOR property
|
|
|
|
// SYSREPOSWINEXES structure overrides
|
|
|
|
equ PSPOS_PRB_VALUE$ to PSPOS_VALUE$ ; * // VALUE property
|
|
equ PSPOS_PRB_RANGE$ to PSPOS_SCROLLRANGE$ ; * // RANGE property for progress bars
|
|
equ PSPOS_PRB_STEP$ to PSPOS_SCROLLCHANGE$ ; * // <0,0,1> == STEP property for progress bars;
|
|
equ PSPOS_PRB_SMOOTHTIMER$ to PSPOS_CHARCOUNT$ ; * // SMOOTHTIMER property
|
|
equ PSPOS_PRB_STATE$ to PSPOS_NUMCOLS$ ; * // STATE for Progress Bars (1,2,3)
|
|
equ PSPOS_PRB_MARQUEE$ to PSPOS_ROWLIMIT$ ; * // MARQUEE property (ms)
|
|
equ PSPOS_PRB_NORMALCOLOR$ to PSPOS_COLOR_1$ ; * // NORMALCOLOR property
|
|
equ PSPOS_PRB_ERRORCOLOR$ to PSPOS_COLOR_2$ ; * // ERRORCOLOR property
|
|
equ PSPOS_PRB_PAUSEDCOLOR$ to PSPOS_COLOR_3$ ; * // PAUSEDCOLOR property
|
|
|
|
// PSPOS_PRB_RANGE equates (@svm'd)
|
|
equ PS_PRG_RANGE_FROM$ to 1 ; // aka SCROLLRANGE V
|
|
equ PS_PRG_RANGE_TO$ to 2 ; // aka SCROLLRANGE H
|
|
|
|
// PSPOS_DISPLAY equates
|
|
equ PS_PRB_DISPLAY_TRANSLUCENCY$ to 1 ; * // TRANSLUCENCY property <0,0,1>
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|