Reaction/ClassAct

How would this function look like using newobject method?

Hello,

i have this function that open a window with a menu:

struct Window *open_window (struct Screen *scr,const char *title,long x,long y,long w,long h,struct NewMenu *newmenu,struct VisualInfo *vi,struct Menu **menuptr)

{
struct Menu *menu = NULL;
struct Window *win;

Forums: 

Values for LAYOUT_BevelStyle [ SOLVED ]

Hello,
I would like to know more about the following extract from SDK 53.20 file images/bevel.h :

/* New bevel styles for V50
*/
#define BVS_CONTAINER 12 /* Scroller container. */
#define BVS_KNOB 13 /* Scroller knob. */
#define BVS_DISPLAY 14 /* Read-only area. */

What are they for? How are they rendered?

Thanks, regards

Forums: 

Program notification when String Gadget goes Active

Using a Reaction class String gadget in a Reaction class window, I'd like the
program to be able to tell when the gadget goes active.

Does anyone know how to get that activation information?

Reaction HandleInput doesn't have a "WMHIGadgetDown" and WMHIActive tells
you that the Window is active, but not which gadget.

The WINDOW_IDCMPHook hook never seems to get called with an
IDCMPGadgetDown, no matter what is in WINDOW_IDCMPHookBits.

Forums: 

Some Questions about the FileObject gadget

Hi,

I am writing a reaction prefs program and want to have a file gadget that shows a button and a string box next to it which contains the current path/file that has been selected.
I create this using the following:

LAYOUT_AddChild, OBJ(OBJ_DISKRSTRING)=GetFileObject,
GA_RelVerify, TRUE,
STRINGA_MinVisible, 36,
GA_ID,OBJ_DISKRSTRING,
End,

Forums: 

Dynamic UI generation

Hi All,

Looking at the Mixer code it uses custom image stuff to generate the sliders dynamicly for each type of sound card. I'd like to take a crack at converting this to use Reaction but I'm not very good at UI programming yet. Anyone have an example of Dymanic UI generation I could start with? Things like how to manage the inbound event loops for the dynamic objects and make sure the settings are correct for each object.

Thanks!
Bill

Forums: 

Pages

Subscribe to RSS - Reaction/ClassAct