CicmWrapper  Beta 0.4
A wrapper for Pure Data
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
epopup.h
1 /*
2  * CicmWrapper
3  * Copyright (C) 2013 Pierre Guillot, CICM - Université Paris 8
4  * All rights reserved.
5  * Website : https://github.com/CICM/CicmWrapper
6  * Contacts : cicm.mshparisnord@gmail.com
7  * For information on usage and redistribution, and for a DISCLAIMER OF ALL
8  * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
9  */
10 
17 #ifndef DEF_EPOPUP
18 #define DEF_EPOPUP
19 
20 #include "edefine.h"
21 
36 
43 void epopupmenu_setfont(t_epopup *popup, t_efont *font);
44 
54 void epopupmenu_additem(t_epopup *popup, int itemid, const char *text, char checked, char disabled);
55 
62 
69 void epopupmenu_popup(t_epopup *popup, t_pt pos);
70 
73 #endif
void epopupmenu_setfont(t_epopup *popup, t_efont *font)
Sets the font of a t_epopup.
Definition: epopup.c:27
void epopupmenu_addseperator(t_epopup *popup)
Adds a new seprator in the popup list.
Definition: epopup.c:43
void epopupmenu_popup(t_epopup *popup, t_pt pos)
Shows the popup on the screen.
Definition: epopup.c:48
The t_symbol struture.
Definition: enative.h:46
The popup structure.
Definition: edefine.h:403
The default object.
Definition: edefine.h:535
t_epopup * epopupmenu_create(t_eobj *x, t_symbol *name)
The t_epopup creation function.
Definition: epopup.c:13
void epopupmenu_additem(t_epopup *popup, int itemid, const char *text, char checked, char disabled)
Adds a new item in the popup list.
Definition: epopup.c:32
The font structure.
Definition: edefine.h:322
A point structure.
Definition: edefine.h:216