summaryrefslogtreecommitdiff
path: root/iup/src/iup_progressbar.h
blob: 44ffb7f684034a5a2990ea319206fa5bb4a0b67f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/** \file
 * \brief ProgressBar Control
 *
 * See Copyright Notice in "iup.h"
 */
 
#ifndef __IUP_PROGRESSBAR_H 
#define __IUP_PROGRESSBAR_H

#ifdef __cplusplus
extern "C" {
#endif


struct _IcontrolData
{
  int dashed,
      marquee;

  double value,  /* value is min < value < max */
         vmin,
         vmax;
};

void  iProgressBarCropValue(Ihandle* ih);
char* iProgressBarGetValueAttrib(Ihandle* ih);
char* iProgressBarGetDashedAttrib(Ihandle* ih);

void iupdrvProgressBarInitClass(Iclass* ic);

#ifdef __cplusplus
}
#endif

#endif