From d577d991b97ae2b5ee1af23641bcffc3f83af5b2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 4 Nov 2009 11:56:41 -0800 Subject: Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux. --- iup/include/iupcontrols.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 iup/include/iupcontrols.h (limited to 'iup/include/iupcontrols.h') diff --git a/iup/include/iupcontrols.h b/iup/include/iupcontrols.h new file mode 100755 index 0000000..c7bc566 --- /dev/null +++ b/iup/include/iupcontrols.h @@ -0,0 +1,46 @@ +/** \file + * \brief initializes dial, gauge, colorbrowser, colorbar controls. + * + * See Copyright Notice in "iup.h" + */ + +#ifndef __IUPCONTROLS_H +#define __IUPCONTROLS_H + +#ifdef __cplusplus +extern "C" { +#endif + + +int IupControlsOpen(void); +void IupControlsClose(void); /* for backward compatibility only, does nothing since IUP 3 */ + +void IupOldValOpen(void); +void IupOldTabsOpen(void); + +Ihandle* IupColorbar(void); +Ihandle* IupCells(void); +Ihandle *IupColorBrowser(void); +Ihandle *IupColorBrowser(void); +Ihandle *IupGauge(void); +Ihandle *IupDial(const char* type); +Ihandle* IupMatrix(const char *action); + +/* IupMatrix utilities */ +void IupMatSetAttribute (Ihandle* ih, const char* name, int lin, int col, char* value); +void IupMatStoreAttribute(Ihandle* ih, const char* name, int lin, int col, char* value); +char* IupMatGetAttribute (Ihandle* ih, const char* name, int lin, int col); +int IupMatGetInt (Ihandle* ih, const char* name, int lin, int col); +float IupMatGetFloat (Ihandle* ih, const char* name, int lin, int col); +void IupMatSetfAttribute (Ihandle* ih, const char* name, int lin, int col, char* format, ...); + +/* Used by IupColorbar */ +#define IUP_PRIMARY -1 +#define IUP_SECONDARY -2 + + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3