assert(0);
ADM_assert(0);
uint8_t  bindGUI( void ){#define ADM_LOOKUP(a,b) a= lookup_widget (guiRootWindow,#b);if(!a) return 0;	ADM_LOOKUP(guiDrawingArea,guiDrawing);	ADM_LOOKUP(guiSlider,sliderNavigate);	sliderAdjustment=gtk_range_get_adjustment (GTK_RANGE(guiSlider));	ADM_LOOKUP(guiMarkA,labelMarkA);	ADM_LOOKUP(guiMarkB,labelMarkB);	ADM_LOOKUP(guiCurFrame,boxCurFrame);	ADM_LOOKUP(guiTotalFrame,labelTotalFrame);		ADM_LOOKUP(guiCurTime,boxCurTime);	ADM_LOOKUP(guiTotalTime,labelTotalTime);		ADM_LOOKUP(guiPreviewToggle,togglebuttonPreview);	ADM_LOOKUP(guiOutputToggle,toggleOutput);	ADM_LOOKUP(guiAudioToggle,togglebuttonAudio);	ADM_LOOKUP(guiVideoToggle,togglebuttonVideo);#undef ADM_LOOKUP  // bind menu #define CALLBACK(x,y) gtk_signal_connect(GTK_OBJECT(lookup_widget(guiRootWindow,#x)), "activate", \                      GTK_SIGNAL_FUNC(guiCallback),                   (void *) y) 	#include "GUI_menumap.h"  #undef CALLBACK  /// /bind menu	// destroy	 gtk_object_set_data_full(GTK_OBJECT(guiRootWindow),			     "guiRootWindow",			     guiRootWindow,			     (GtkDestroyNotify) destroyCallback);		//	now add callbacks#define ADD_SIGNAL(a,b,c)  gtk_signal_connect(GTK_OBJECT(a),b, \		       GTK_SIGNAL_FUNC(guiCallback), (void *) c);				             	ADD_SIGNAL(guiSlider,"value_changed",ACT_Scale);		// We need to know when the current frame box has the focus to cancel	// shortcuts		gtk_signal_connect(GTK_OBJECT(lookup_widget(guiRootWindow,"boxCurFrame")), "focus_in_event",                       GTK_SIGNAL_FUNC(UI_grabFocus),                   (void *) NULL);	   	gtk_signal_connect(GTK_OBJECT(lookup_widget(guiRootWindow,"boxCurFrame")), "focus_out_event", 	                      GTK_SIGNAL_FUNC(UI_looseFocus),                   (void *) NULL);	 		       // Callbacks for buttons		uint32_t nb=sizeof(buttonCallback)/sizeof(buttonCallBack_S); 		GtkWidget *bt;						for(uint32_t i=0;i<nb;i++)		{			bt= lookup_widget (guiRootWindow,buttonCallback[i].name);			if(!bt)			{				printf("Binding failed for %s\n",buttonCallback[i].name);				assert(0);			}			ADD_SIGNAL(bt,buttonCallback[i].signal,buttonCallback[i].action);			GTK_WIDGET_UNSET_FLAGS (bt, GTK_CAN_FOCUS);					}	GTK_WIDGET_SET_FLAGS (lookup_widget(guiRootWindow,"boxCurFrame"), GTK_CAN_FOCUS);		       // set some tuning    gtk_widget_set_usize(guiDrawingArea, 512, 288);    // hscale        GTK_WIDGET_UNSET_FLAGS (guiSlider, GTK_CAN_FOCUS);	    gtk_widget_show(guiSlider);    // And, the size now scales to the width of the window.    gtk_widget_set_usize(guiSlider, 0, 0);    // Plus, two-decimal precision.    gtk_scale_set_digits(GTK_SCALE(guiSlider), 2);    // And continuous updates!    gtk_range_set_update_policy (GTK_RANGE (guiSlider), GTK_UPDATE_CONTINUOUS);	            // keyboard events    /*     gtk_signal_connect_after(GTK_OBJECT(guiRootWindow), "key_press_event",		       GTK_SIGNAL_FUNC(UI_on_key_press),		       NULL);   */ 	gtk_signal_connect(GTK_OBJECT(guiDrawingArea), "expose_event",		       GTK_SIGNAL_FUNC(on_drawingarea1_expose_event),		       NULL);    return 1;}