iup-stack/iup/src/iup_globalattrib.h

36 lines
760 B
C
Raw Normal View History

2023-02-20 16:44:45 +00:00
/** \file
* \brief global attributes environment (not exported API)
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUP_GLOBALATTRIB_H
#define __IUP_GLOBALATTRIB_H
#ifdef __cplusplus
extern "C" {
#endif
/* called only in IupOpen and IupClose */
void iupGlobalAttribInit(void);
void iupGlobalAttribFinish(void);
IUP_SDK_API int iupGlobalIsPointer(const char* name);
int iupGlobalDefaultColorChanged(const char *name); /* check if user changed */
void iupGlobalSetDefaultColorAttrib(const char* name, int r, int g, int b); /* internal change method */
int iupGetGlobalAttributes(char** names, int n);
/* Other functions declared in <iup.h> and implemented here.
IupSetGlobal
IupStoreGlobal
IupGetGlobal
*/
#ifdef __cplusplus
}
#endif
#endif