Stormwizard with GUI Editor further developed Version

Date 16-May-2010 20:22:37
Topic: hardware OS4


Stormwizard with GUI Editor further developed Version

Here you can download and read more: http://stormwizard.amiforce.de/

The first screenshot is from OS4 from mrodfr, so it should here work too.

Additionally there are Macros that work the same as MUI Macros (Read more)

#define get(obj,attr,store) GetAttr(attr,obj,(ULONG *)store)
#define set(gad,win,tag1,tagdata1) SetGadgetAttrs((gad),(win),0,(tag1),(tagdata1),TAG_DONE)
#define set2(gad,win,tag1,tagdata1,tag2,tagdata2) SetGadgetAttrs((gad),(win),0,(tag1),(tagdata1),(tag2),(tagdata2),TAG_DONE)
#define set3(gad,win,tag1,tagdata1,tag2,tagdata2,tag3,tagdata3) \
SetGadgetAttrs((gad),(win),0,(tag1),(tagdata1),(tag2),(tagdata2),(tag3),(tagdata3),TAG_DONE)
#define WZ_GadID(_msg) GetTagData(GA_ID,0,(struct TagItem *)(_msg)->IAddress)

#define setmutex(obj,win,n) set(obj,win,WMXA_Active,n)
#define setcycle(obj,win,n) set(obj,win,WCYCLEA_Active ,n)
#define setstring(obj,win,s) set(obj,win,WSTRINGA_String,(APTR)s)
#define setinteger(obj,win,n) set(obj,win,WINTEGERA_Long,n)
#define setcheckmark(obj,win,b) set(obj,win,WCHECKBOXA_Checked ,b)
#define setslider(obj,win,l) set(obj,win,WSLIDERA_Level,l)
#define settoggle(obj,win,l) set(obj,win,WTOGGLEA_Checked,l)

#define getmutex(obj,value) get(obj,WMXA_Active,value)
#define getcycle(obj,value) get(obj,WCYCLEA_Active ,value)
#define getstring(obj,string) get(obj,WSTRINGA_String,(APTR)string)
#define getinteger(obj,value) get(obj,WINTEGERA_Long,value)
#define getcheckmark(obj,value) get(obj,WCHECKBOXA_Checked ,value)
#define getslider(obj,value) get(obj,WSLIDERA_Level,value)
#define gettoggle(obj,value) get(obj,WTOGGLEA_Checked,value)



This article comes from AmigaWorld - Amiga Community Portal
https://amigaworld.net

The URL for this story is:
https://amigaworld.net/article.php?storyid=5428