summaryrefslogtreecommitdiff
path: root/iup/src/iup_label.h
blob: f50d26ff21463f46cb3d953c77eb24d04149687a (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
36
37
/** \file
 * \brief Label Controls Private Declarations
 *
 * See Copyright Notice in "iup.h"
 */
 
#ifndef __IUP_LABEL_H 
#define __IUP_LABEL_H

#ifdef __cplusplus
extern "C" {
#endif


void iupdrvLabelInitClass(Iclass* ic);

char* iupLabelGetPaddingAttrib(Ihandle* ih);

enum{IUP_LABEL_SEP_HORIZ, IUP_LABEL_SEP_VERT, IUP_LABEL_IMAGE, IUP_LABEL_TEXT};

struct _IcontrolData 
{
  int type,   /* the 4 labels possibilities */
      horiz_padding, vert_padding;  /* label margin */

  /* used only by the Windows driver */
  int horiz_alignment, vert_alignment, 
      text_style;  
  unsigned long fgcolor;
};


#ifdef __cplusplus
}
#endif

#endif