/*
 * o1k_conf_ui.c - User interface object initialization functions.
 * This file was generated by `gxv' from `o1k_conf.G'.
 * DO NOT EDIT BY HAND.
 */

#include <stdio.h>
#include <sys/param.h>
#include <sys/types.h>
#include <xview/xview.h>
#include <xview/canvas.h>
#include <xview/panel.h>
#include <xview/scrollbar.h>
#include <xview/svrimage.h>
#include <xview/termsw.h>
#include <xview/text.h>
#include <xview/tty.h>
#include <xview/xv_xrect.h>
#include "o1k_conf_ui.h"

/*
 * Create object `view_m' in the specified instance.
 */
Xv_opaque
o1k_conf_view_m_create(caddr_t ip, Xv_opaque owner)
{
	extern Menu_item	show_local_video(Menu_item, Menu_generate);
	extern Menu_item	show_far_video(Menu_item, Menu_generate);
	extern Menu_item	o1k_conf_view_m_item2_callback(Menu_item, Menu_generate);
	Xv_opaque	obj;
	
	obj = xv_create(XV_NULL, MENU_COMMAND_MENU,
		XV_KEY_DATA, INSTANCE, ip,
		MENU_TITLE_ITEM, owner ? "" : "View",
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Local Video",
			MENU_GEN_PROC, show_local_video,
			NULL,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Far Video",
			MENU_GEN_PROC, show_far_video,
			NULL,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Status",
			MENU_GEN_PROC, o1k_conf_view_m_item2_callback,
			NULL,
		MENU_GEN_PIN_WINDOW, owner, "View",
		NULL);
	return obj;
}

/*
 * Create object `ab_sort_menu' in the specified instance.
 */
Xv_opaque
o1k_conf_ab_sort_menu_create(caddr_t ip, Xv_opaque owner)
{
	extern Menu		ab_sort(Menu, Menu_generate);
	extern Menu_item	ab_sort_user(Menu_item, Menu_generate);
	extern Menu_item	ab_sort_first(Menu_item, Menu_generate);
	extern Menu_item	ab_sort_last(Menu_item, Menu_generate);
	extern Menu_item	ab_sort_email(Menu_item, Menu_generate);
	Xv_opaque	obj;
	
	obj = xv_create(XV_NULL, MENU_COMMAND_MENU,
		XV_KEY_DATA, INSTANCE, ip,
		MENU_GEN_PROC, ab_sort,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "User",
			MENU_GEN_PROC, ab_sort_user,
			NULL,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "First",
			MENU_GEN_PROC, ab_sort_first,
			NULL,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Last",
			MENU_GEN_PROC, ab_sort_last,
			NULL,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Email",
			MENU_GEN_PROC, ab_sort_email,
			NULL,
		NULL);
	return obj;
}

/*
 * Create object `ab_file_menu' in the specified instance.
 */
Xv_opaque
o1k_conf_ab_file_menu_create(caddr_t ip, Xv_opaque owner)
{
	extern Menu_item	ab_file_load(Menu_item, Menu_generate);
	extern Menu_item	ab_file_store(Menu_item, Menu_generate);
	Xv_opaque	obj;
	
	obj = xv_create(XV_NULL, MENU_COMMAND_MENU,
		XV_KEY_DATA, INSTANCE, ip,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Load",
			MENU_GEN_PROC, ab_file_load,
			NULL,
		MENU_ITEM,
			XV_KEY_DATA, INSTANCE, ip,
			MENU_STRING, "Store",
			MENU_GEN_PROC, ab_file_store,
			NULL,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `main_window'.
 */
o1k_conf_main_window_objects *
o1k_conf_main_window_objects_initialize(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_main_window_objects *) calloc(1, sizeof (o1k_conf_main_window_objects))))
		return (o1k_conf_main_window_objects *) NULL;
	if (!ip->main_window)
		ip->main_window = o1k_conf_main_window_main_window_create(ip, owner);
	if (!ip->main_controls)
		ip->main_controls = o1k_conf_main_window_main_controls_create(ip, ip->main_window);
	if (!ip->setup_b)
		ip->setup_b = o1k_conf_main_window_setup_b_create(ip, ip->main_controls);
	if (!ip->call_b)
		ip->call_b = o1k_conf_main_window_call_b_create(ip, ip->main_controls);
	if (!ip->hangup_b)
		ip->hangup_b = o1k_conf_main_window_hangup_b_create(ip, ip->main_controls);
	if (!ip->view_b)
		ip->view_b = o1k_conf_main_window_view_b_create(ip, ip->main_controls);
	if (!ip->address_b)
		ip->address_b = o1k_conf_main_window_address_b_create(ip, ip->main_controls);
	if (!ip->av_panel_button)
		ip->av_panel_button = o1k_conf_main_window_av_panel_button_create(ip, ip->main_controls);
	if (!ip->main_user_tf)
		ip->main_user_tf = o1k_conf_main_window_main_user_tf_create(ip, ip->main_controls);
	return ip;
}

/*
 * Create object `main_window' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_main_window_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	Xv_opaque		main_window_image;
	static unsigned short	main_window_bits[] = {
#include "bitmaps/o1kconf.icon"
	};
	Xv_opaque		main_window_image_mask;
	static unsigned short	main_window_mask_bits[] = {
#include "bitmaps/o1kconf.mask"
	};
	
	main_window_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, main_window_bits,
		XV_WIDTH, 64,
		XV_HEIGHT, 64,
		NULL);
	main_window_image_mask = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, main_window_mask_bits,
		XV_WIDTH, 64,
		XV_HEIGHT, 64,
		NULL);
	obj = xv_create(owner, FRAME,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 375,
		XV_HEIGHT, 113,
#ifdef O1K_ZIPPY
		XV_LABEL, "SunVideo-Plus Conference Application",
#else
		XV_LABEL, "Osprey Conference Application",
#endif
		FRAME_SHOW_FOOTER, TRUE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_ICON, xv_create(XV_NULL, ICON,
			ICON_IMAGE, main_window_image,
			ICON_MASK_IMAGE, main_window_image_mask,
			NULL),
		NULL);
	return obj;
}

/*
 * Create object `main_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_main_controls_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `setup_b' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_setup_b_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_main_window_setup_b_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	Xv_opaque		setup_b_image;
	static unsigned short	setup_b_bits[] = {
#include "bitmaps/setup_button"
	};
	
	setup_b_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, setup_b_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 10,
		PANEL_LABEL_IMAGE, setup_b_image,
		PANEL_NOTIFY_PROC, o1k_conf_main_window_setup_b_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `call_b' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_call_b_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_main_window_call_b_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	Xv_opaque		call_b_image;
	static unsigned short	call_b_bits[] = {
#include "bitmaps/call_button"
	};
	
	call_b_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, call_b_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 80,
		XV_Y, 10,
		PANEL_LABEL_IMAGE, call_b_image,
		PANEL_INACTIVE, TRUE,
		PANEL_NOTIFY_PROC, o1k_conf_main_window_call_b_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `hangup_b' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_hangup_b_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_main_window_hangup_b_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	Xv_opaque		hangup_b_image;
	static unsigned short	hangup_b_bits[] = {
#include "bitmaps/hangup_button"
	};
	
	hangup_b_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, hangup_b_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 80,
		XV_Y, 10,
		PANEL_LABEL_IMAGE, hangup_b_image,
		XV_SHOW, FALSE,
		PANEL_NOTIFY_PROC, o1k_conf_main_window_hangup_b_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `view_b' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_view_b_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern Xv_opaque	o1k_conf_view_m_create(caddr_t, Xv_opaque);
	Xv_opaque	obj;
	Xv_opaque		view_b_image;
	static unsigned short	view_b_bits[] = {
#include "bitmaps/view_button"
	};
	
	view_b_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, view_b_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 10,
		PANEL_LABEL_WIDTH, 42,
		PANEL_LABEL_IMAGE, view_b_image,
		PANEL_ITEM_MENU, o1k_conf_view_m_create((caddr_t) ip, ip->main_window),
		NULL);
	return obj;
}

/*
 * Create object `address_b' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_address_b_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_main_window_address_b_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	Xv_opaque		address_b_image;
	static unsigned short	address_b_bits[] = {
#include "bitmaps/address_button"
	};
	
	address_b_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, address_b_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 230,
		XV_Y, 10,
		PANEL_LABEL_IMAGE, address_b_image,
		PANEL_NOTIFY_PROC, o1k_conf_main_window_address_b_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `av_panel_button' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_av_panel_button_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_main_window_av_panel_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	Xv_opaque		av_panel_button_image;
	static unsigned short	av_panel_button_bits[] = {
#include "bitmaps/avpanel_button"
	};
	
	av_panel_button_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, av_panel_button_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 300,
		XV_Y, 10,
		PANEL_LABEL_IMAGE, av_panel_button_image,
		PANEL_NOTIFY_PROC, o1k_conf_main_window_av_panel_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `main_user_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_main_window_main_user_tf_create(o1k_conf_main_window_objects *ip, Xv_opaque owner)
{
	extern Panel_setting	set_address(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 50,
		XV_Y, 90,
		PANEL_VALUE_DISPLAY_LENGTH, 22,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LABEL_STRING, "user@host:",
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, FALSE,
		PANEL_NOTIFY_PROC, set_address,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `setup_popup'.
 */
o1k_conf_setup_popup_objects *
o1k_conf_setup_popup_objects_initialize(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_setup_popup_objects *) calloc(1, sizeof (o1k_conf_setup_popup_objects))))
		return (o1k_conf_setup_popup_objects *) NULL;
	if (!ip->setup_popup)
		ip->setup_popup = o1k_conf_setup_popup_setup_popup_create(ip, owner);
	if (!ip->setup_controls)
		ip->setup_controls = o1k_conf_setup_popup_setup_controls_create(ip, ip->setup_popup);
	if (!ip->video_setting)
		ip->video_setting = o1k_conf_setup_popup_video_setting_create(ip, ip->setup_controls);
	if (!ip->video_properties_b)
		ip->video_properties_b = o1k_conf_setup_popup_video_properties_b_create(ip, ip->setup_controls);
	if (!ip->audio_setting)
		ip->audio_setting = o1k_conf_setup_popup_audio_setting_create(ip, ip->setup_controls);
	if (!ip->audio_properties_b)
		ip->audio_properties_b = o1k_conf_setup_popup_audio_properties_b_create(ip, ip->setup_controls);
	if (!ip->setup_close_button)
		ip->setup_close_button = o1k_conf_setup_popup_setup_close_button_create(ip, ip->setup_controls);
	return ip;
}

/*
 * Create object `setup_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_setup_popup_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 237,
		XV_HEIGHT, 155,
		XV_LABEL, "Setup",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, TRUE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `setup_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_setup_controls_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `video_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_video_setting_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	extern void		set_video_format(Panel_item, int, Event *);
	Xv_opaque	obj;
	Xv_opaque		video_setting_image;
	static unsigned short	video_setting_bits[] = {
#include "bitmaps/video_setting"
	};
	
	video_setting_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, video_setting_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 10,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_LABEL_IMAGE, video_setting_image,
		PANEL_NOTIFY_PROC, set_video_format,
		PANEL_CHOICE_STRINGS,
			"H261",
			"CellB",
			"Jpeg",
			"None",
			NULL,
		PANEL_DEFAULT_VALUE, 0,
		NULL);
	return obj;
}

/*
 * Create object `video_properties_b' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_video_properties_b_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	extern void		setup_show_video_props(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Properties",
		PANEL_NOTIFY_PROC, setup_show_video_props,
		NULL);
	return obj;
}

/*
 * Create object `audio_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_audio_setting_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	extern void		set_audio_format(Panel_item, int, Event *);
	Xv_opaque	obj;
	Xv_opaque		audio_setting_image;
	static unsigned short	audio_setting_bits[] = {
#include "bitmaps/audio_setting"
	};
	
	audio_setting_image = xv_create(XV_NULL, SERVER_IMAGE,
		SERVER_IMAGE_DEPTH, 1,
		SERVER_IMAGE_BITS, audio_setting_bits,
		XV_WIDTH, 48,
		XV_HEIGHT, 48,
		NULL);
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 70,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_LABEL_IMAGE, audio_setting_image,
		PANEL_NOTIFY_PROC, set_audio_format,
		PANEL_CHOICE_STRINGS,
			"G722",
			"G728",
			"ulaw",
			"alaw",
			"PCM8",
			"PCM16",
			"None",
			NULL,
		PANEL_DEFAULT_VALUE, 2,
		PANEL_VALUE, 2,
		NULL);
	return obj;
}

/*
 * Create object `audio_properties_b' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_audio_properties_b_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_setup_popup_audio_properties_b_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Properties",
		PANEL_NOTIFY_PROC, o1k_conf_setup_popup_audio_properties_b_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `setup_close_button' in the specified instance.
 */
Xv_opaque
o1k_conf_setup_popup_setup_close_button_create(o1k_conf_setup_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_setup_popup_setup_close_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 120,
		PANEL_LABEL_STRING, "Close",
		PANEL_NOTIFY_PROC, o1k_conf_setup_popup_setup_close_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `audio_popup'.
 */
o1k_conf_audio_popup_objects *
o1k_conf_audio_popup_objects_initialize(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_audio_popup_objects *) calloc(1, sizeof (o1k_conf_audio_popup_objects))))
		return (o1k_conf_audio_popup_objects *) NULL;
	if (!ip->audio_popup)
		ip->audio_popup = o1k_conf_audio_popup_audio_popup_create(ip, owner);
	if (!ip->audio_controls)
		ip->audio_controls = o1k_conf_audio_popup_audio_controls_create(ip, ip->audio_popup);
	if (!ip->audio_channels_setting)
		ip->audio_channels_setting = o1k_conf_audio_popup_audio_channels_setting_create(ip, ip->audio_controls);
	if (!ip->audio_sampling_rate_setting)
		ip->audio_sampling_rate_setting = o1k_conf_audio_popup_audio_sampling_rate_setting_create(ip, ip->audio_controls);
	if (!ip->audio_echo_suppress_setting)
		ip->audio_echo_suppress_setting = o1k_conf_audio_popup_audio_echo_suppress_setting_create(ip, ip->audio_controls);
	if (!ip->audio_close_button)
		ip->audio_close_button = o1k_conf_audio_popup_audio_close_button_create(ip, ip->audio_controls);
	return ip;
}

/*
 * Create object `audio_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_audio_popup_audio_popup_create(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 247,
		XV_HEIGHT, 98,
		XV_LABEL, "General Audio Settings",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, FALSE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `audio_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_audio_popup_audio_controls_create(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `audio_channels_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_audio_popup_audio_channels_setting_create(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_channels(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 10,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_VERTICAL,
		PANEL_LABEL_STRING, "Channels",
		PANEL_NOTIFY_PROC, audio_set_channels,
		PANEL_CHOICE_STRINGS,
			"Mono",
			"Stereo",
			NULL,
		PANEL_DEFAULT_VALUE, 0,
		NULL);
	return obj;
}

/*
 * Create object `audio_sampling_rate_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_audio_popup_audio_sampling_rate_setting_create(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_samplerate(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 94,
		XV_Y, 10,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_VERTICAL,
		PANEL_LABEL_STRING, "Sample Rate",
		PANEL_NOTIFY_PROC, audio_set_samplerate,
		PANEL_CHOICE_STRINGS,
			"8000",
			"11025",
			"16000",
			"22050",
			"32000",
			NULL,
		PANEL_DEFAULT_VALUE, 0,
		NULL);
	return obj;
}

/*
 * Create object `audio_echo_suppress_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_audio_popup_audio_echo_suppress_setting_create(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_aes(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TOGGLE, PANEL_FEEDBACK, PANEL_MARKED,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 189,
		XV_Y, 10,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_VERTICAL,
		PANEL_LABEL_STRING, "AES",
		PANEL_NOTIFY_PROC, audio_set_aes,
		PANEL_CHOICE_STRING, 0, "On",
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `audio_close_button' in the specified instance.
 */
Xv_opaque
o1k_conf_audio_popup_audio_close_button_create(o1k_conf_audio_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_audio_popup_audio_close_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Close",
		PANEL_NOTIFY_PROC, o1k_conf_audio_popup_audio_close_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `cellb_popup'.
 */
o1k_conf_cellb_popup_objects *
o1k_conf_cellb_popup_objects_initialize(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_cellb_popup_objects *) calloc(1, sizeof (o1k_conf_cellb_popup_objects))))
		return (o1k_conf_cellb_popup_objects *) NULL;
	if (!ip->cellb_popup)
		ip->cellb_popup = o1k_conf_cellb_popup_cellb_popup_create(ip, owner);
	if (!ip->cellb_controls)
		ip->cellb_controls = o1k_conf_cellb_popup_cellb_controls_create(ip, ip->cellb_popup);
	if (!ip->cellb_cif_setting)
		ip->cellb_cif_setting = o1k_conf_cellb_popup_cellb_cif_setting_create(ip, ip->cellb_controls);
	if (!ip->cellb_frame_rate_slider)
		ip->cellb_frame_rate_slider = o1k_conf_cellb_popup_cellb_frame_rate_slider_create(ip, ip->cellb_controls);
	if (!ip->cellb_framerate_message)
		ip->cellb_framerate_message = o1k_conf_cellb_popup_cellb_framerate_message_create(ip, ip->cellb_controls);
	if (!ip->cellb_close_button)
		ip->cellb_close_button = o1k_conf_cellb_popup_cellb_close_button_create(ip, ip->cellb_controls);
	return ip;
}

/*
 * Create object `cellb_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_cellb_popup_cellb_popup_create(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 289,
		XV_HEIGHT, 95,
		XV_LABEL, "CellB Settings",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, FALSE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `cellb_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_cellb_popup_cellb_controls_create(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `cellb_cif_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_cellb_popup_cellb_cif_setting_create(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	extern void		cellb_set_videosize(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 10,
		PANEL_CHOICE_NROWS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_CHOOSE_NONE, FALSE,
		PANEL_LABEL_STRING, "Video Size:",
		PANEL_NOTIFY_PROC, cellb_set_videosize,
		PANEL_CHOICE_STRINGS,
			"CIF",
			"QCIF",
			NULL,
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `cellb_frame_rate_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_cellb_popup_cellb_frame_rate_slider_create(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	extern void		cellb_set_framerate(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 40,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 1,
		PANEL_MAX_VALUE, 30,
		PANEL_VALUE, 10,
		PANEL_NOTIFY_PROC, cellb_set_framerate,
		NULL);
	return obj;
}

/*
 * Create object `cellb_framerate_message' in the specified instance.
 */
Xv_opaque
o1k_conf_cellb_popup_cellb_framerate_message_create(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 196,
		XV_Y, 41,
		PANEL_LABEL_STRING, "Frame Rate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `cellb_close_button' in the specified instance.
 */
Xv_opaque
o1k_conf_cellb_popup_cellb_close_button_create(o1k_conf_cellb_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_cellb_popup_cellb_close_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 120,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Close",
		PANEL_NOTIFY_PROC, o1k_conf_cellb_popup_cellb_close_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `avpanel_popup'.
 */
o1k_conf_avpanel_popup_objects *
o1k_conf_avpanel_popup_objects_initialize(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_avpanel_popup_objects *) calloc(1, sizeof (o1k_conf_avpanel_popup_objects))))
		return (o1k_conf_avpanel_popup_objects *) NULL;
	if (!ip->avpanel_popup)
		ip->avpanel_popup = o1k_conf_avpanel_popup_avpanel_popup_create(ip, owner);
	if (!ip->avpanel_controls)
		ip->avpanel_controls = o1k_conf_avpanel_popup_avpanel_controls_create(ip, ip->avpanel_popup);
	if (!ip->avpanel_vol_msg)
		ip->avpanel_vol_msg = o1k_conf_avpanel_popup_avpanel_vol_msg_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_aud_inputsel_setting)
		ip->avpanel_aud_inputsel_setting = o1k_conf_avpanel_popup_avpanel_aud_inputsel_setting_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_brightness_slider)
		ip->avpanel_brightness_slider = o1k_conf_avpanel_popup_avpanel_brightness_slider_create(ip, ip->avpanel_controls);
	if (!ip->avpenel_brightness_message)
		ip->avpenel_brightness_message = o1k_conf_avpanel_popup_avpenel_brightness_message_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_vol_output_msg)
		ip->avpanel_vol_output_msg = o1k_conf_avpanel_popup_avpanel_vol_output_msg_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_vol_input_msg)
		ip->avpanel_vol_input_msg = o1k_conf_avpanel_popup_avpanel_vol_input_msg_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_vol_monitor_msg)
		ip->avpanel_vol_monitor_msg = o1k_conf_avpanel_popup_avpanel_vol_monitor_msg_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_contrast_slider)
		ip->avpanel_contrast_slider = o1k_conf_avpanel_popup_avpanel_contrast_slider_create(ip, ip->avpanel_controls);
	if (!ip->avpenel_contrast_message)
		ip->avpenel_contrast_message = o1k_conf_avpanel_popup_avpenel_contrast_message_create(ip, ip->avpanel_controls);
	if (!ip->audio_volume_slider)
		ip->audio_volume_slider = o1k_conf_avpanel_popup_audio_volume_slider_create(ip, ip->avpanel_controls);
	if (!ip->audio_gain_slider)
		ip->audio_gain_slider = o1k_conf_avpanel_popup_audio_gain_slider_create(ip, ip->avpanel_controls);
	if (!ip->audio_monitor_slider)
		ip->audio_monitor_slider = o1k_conf_avpanel_popup_audio_monitor_slider_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_vid_inputsel_setting)
		ip->avpanel_vid_inputsel_setting = o1k_conf_avpanel_popup_avpanel_vid_inputsel_setting_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_hue_slider)
		ip->avpanel_hue_slider = o1k_conf_avpanel_popup_avpanel_hue_slider_create(ip, ip->avpanel_controls);
	if (!ip->avpenel_hue_message)
		ip->avpenel_hue_message = o1k_conf_avpanel_popup_avpenel_hue_message_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_gainu_slider)
		ip->avpanel_gainu_slider = o1k_conf_avpanel_popup_avpanel_gainu_slider_create(ip, ip->avpanel_controls);
	if (!ip->avpenel_gainu_message)
		ip->avpenel_gainu_message = o1k_conf_avpanel_popup_avpenel_gainu_message_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_vid_outputsel_setting)
		ip->avpanel_vid_outputsel_setting = o1k_conf_avpanel_popup_avpanel_vid_outputsel_setting_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_gainv_slider)
		ip->avpanel_gainv_slider = o1k_conf_avpanel_popup_avpanel_gainv_slider_create(ip, ip->avpanel_controls);
	if (!ip->avpenel_gainv_message)
		ip->avpenel_gainv_message = o1k_conf_avpanel_popup_avpenel_gainv_message_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_close_button)
		ip->avpanel_close_button = o1k_conf_avpanel_popup_avpanel_close_button_create(ip, ip->avpanel_controls);
	if (!ip->avpanel_codecprops_button)
		ip->avpanel_codecprops_button = o1k_conf_avpanel_popup_avpanel_codecprops_button_create(ip, ip->avpanel_controls);
	if (!ip->audio_output_enable_setting)
		ip->audio_output_enable_setting = o1k_conf_avpanel_popup_audio_output_enable_setting_create(ip, ip->avpanel_controls);
	if (!ip->audio_input_enable_setting)
		ip->audio_input_enable_setting = o1k_conf_avpanel_popup_audio_input_enable_setting_create(ip, ip->avpanel_controls);
	return ip;
}

/*
 * Create object `avpanel_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_popup_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 501,
		XV_HEIGHT, 192,
		XV_LABEL, "Audio & Video  Panel",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, TRUE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `avpanel_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_controls_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_vol_msg' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_vol_msg_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 42,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Volume Control",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_aud_inputsel_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_aud_inputsel_setting_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_inputselect(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 190,
		XV_Y, 10,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_VERTICAL,
		PANEL_LABEL_STRING, "Audio Input",
		PANEL_NOTIFY_PROC, audio_set_inputselect,
		PANEL_CHOICE_STRINGS,
			"Line In",
			"Mic In",
			NULL,
		PANEL_DEFAULT_VALUE, 0,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_brightness_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_brightness_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_brightness(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 295,
		XV_Y, 10,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, -128,
		PANEL_MAX_VALUE, 127,
		PANEL_VALUE, 0,
		PANEL_NOTIFY_PROC, video_set_brightness,
		NULL);
	return obj;
}

/*
 * Create object `avpenel_brightness_message' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpenel_brightness_message_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 415,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Brightness",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_vol_output_msg' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_vol_output_msg_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 16,
		XV_Y, 30,
		PANEL_LABEL_STRING, "Output",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_vol_input_msg' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_vol_input_msg_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 74,
		XV_Y, 30,
		PANEL_LABEL_STRING, "Input",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_vol_monitor_msg' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_vol_monitor_msg_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 121,
		XV_Y, 30,
		PANEL_LABEL_STRING, "Monitor",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_contrast_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_contrast_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_contrast(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 295,
		XV_Y, 40,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 511,
		PANEL_VALUE, 216,
		PANEL_NOTIFY_PROC, video_set_contrast,
		NULL);
	return obj;
}

/*
 * Create object `avpenel_contrast_message' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpenel_contrast_message_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 415,
		XV_Y, 40,
		PANEL_LABEL_STRING, "Contrast",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `audio_volume_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_audio_volume_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_voloutput(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 31,
		XV_Y, 50,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_VERTICAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 255,
		PANEL_VALUE, 255,
		PANEL_NOTIFY_PROC, audio_set_voloutput,
		NULL);
	return obj;
}

/*
 * Create object `audio_gain_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_audio_gain_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_volinput(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 83,
		XV_Y, 50,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_VERTICAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 255,
		PANEL_VALUE, 30,
		PANEL_NOTIFY_PROC, audio_set_volinput,
		NULL);
	return obj;
}

/*
 * Create object `audio_monitor_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_audio_monitor_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		audio_set_volmonitor(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 138,
		XV_Y, 50,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_VERTICAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 255,
		PANEL_VALUE, 0,
		PANEL_NOTIFY_PROC, audio_set_volmonitor,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_vid_inputsel_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_vid_inputsel_setting_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_inputselect(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 190,
		XV_Y, 60,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_VERTICAL,
		PANEL_LABEL_STRING, "Video Input",
		PANEL_NOTIFY_PROC, video_set_inputselect,
		PANEL_CHOICE_STRINGS,
			"S-Video",
			"Composite",
			NULL,
		PANEL_DEFAULT_VALUE, 1,
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_hue_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_hue_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_hue(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 295,
		XV_Y, 70,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, -128,
		PANEL_MAX_VALUE, 127,
		PANEL_VALUE, 0,
		PANEL_NOTIFY_PROC, video_set_hue,
		NULL);
	return obj;
}

/*
 * Create object `avpenel_hue_message' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpenel_hue_message_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 415,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Hue",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_gainu_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_gainu_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_gainu(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 295,
		XV_Y, 100,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 511,
		PANEL_VALUE, 254,
		PANEL_NOTIFY_PROC, video_set_gainu,
		NULL);
	return obj;
}

/*
 * Create object `avpenel_gainu_message' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpenel_gainu_message_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 415,
		XV_Y, 100,
		PANEL_LABEL_STRING, "Gain-U",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_vid_outputsel_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_vid_outputsel_setting_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_outputselect(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE, PANEL_DISPLAY_LEVEL, PANEL_CURRENT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 190,
		XV_Y, 110,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_VERTICAL,
		PANEL_LABEL_STRING, "Video Output",
		PANEL_NOTIFY_PROC, video_set_outputselect,
		PANEL_CHOICE_STRINGS,
			"Window",
			"Out",
			NULL,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_gainv_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_gainv_slider_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		video_set_gainv(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 295,
		XV_Y, 130,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, FALSE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, FALSE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 511,
		PANEL_VALUE, 180,
		PANEL_NOTIFY_PROC, video_set_gainv,
		NULL);
	return obj;
}

/*
 * Create object `avpenel_gainv_message' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpenel_gainv_message_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 415,
		XV_Y, 130,
		PANEL_LABEL_STRING, "Gain-V",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_close_button' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_close_button_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_avpanel_popup_avpanel_close_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 203,
		XV_Y, 156,
		PANEL_LABEL_STRING, "Close",
		PANEL_NOTIFY_PROC, o1k_conf_avpanel_popup_avpanel_close_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `avpanel_codecprops_button' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_avpanel_codecprops_button_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		bringup_codec_properties(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 295,
		XV_Y, 160,
		PANEL_LABEL_STRING, "Codec Properties",
		PANEL_NOTIFY_PROC, bringup_codec_properties,
		NULL);
	return obj;
}

/*
 * Create object `audio_output_enable_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_audio_output_enable_setting_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		set_audio_output_enable(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TOGGLE, PANEL_FEEDBACK, PANEL_MARKED,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 33,
		XV_Y, 163,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_NOTIFY_PROC, set_audio_output_enable,
		PANEL_CHOICE_STRING, 0, "",
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `audio_input_enable_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_avpanel_popup_audio_input_enable_setting_create(o1k_conf_avpanel_popup_objects *ip, Xv_opaque owner)
{
	extern void		set_audio_input_enable(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TOGGLE, PANEL_FEEDBACK, PANEL_MARKED,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 84,
		XV_Y, 163,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_NOTIFY_PROC, set_audio_input_enable,
		PANEL_CHOICE_STRING, 0, "",
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `address_popup'.
 */
o1k_conf_address_popup_objects *
o1k_conf_address_popup_objects_initialize(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_address_popup_objects *) calloc(1, sizeof (o1k_conf_address_popup_objects))))
		return (o1k_conf_address_popup_objects *) NULL;
	if (!ip->address_popup)
		ip->address_popup = o1k_conf_address_popup_address_popup_create(ip, owner);
	if (!ip->address_controls)
		ip->address_controls = o1k_conf_address_popup_address_controls_create(ip, ip->address_popup);
	if (!ip->ab_file_button)
		ip->ab_file_button = o1k_conf_address_popup_ab_file_button_create(ip, ip->address_controls);
	if (!ip->ab_sort_button)
		ip->ab_sort_button = o1k_conf_address_popup_ab_sort_button_create(ip, ip->address_controls);
	if (!ip->ab_delete_button)
		ip->ab_delete_button = o1k_conf_address_popup_ab_delete_button_create(ip, ip->address_controls);
	if (!ip->ab_new_button)
		ip->ab_new_button = o1k_conf_address_popup_ab_new_button_create(ip, ip->address_controls);
	if (!ip->ab_add_button)
		ip->ab_add_button = o1k_conf_address_popup_ab_add_button_create(ip, ip->address_controls);
	if (!ip->ab_cancel_button)
		ip->ab_cancel_button = o1k_conf_address_popup_ab_cancel_button_create(ip, ip->address_controls);
	if (!ip->ab_done_button)
		ip->ab_done_button = o1k_conf_address_popup_ab_done_button_create(ip, ip->address_controls);
	if (!ip->list1)
		ip->list1 = o1k_conf_address_popup_list1_create(ip, ip->address_controls);
	if (!ip->ab_userhost_message)
		ip->ab_userhost_message = o1k_conf_address_popup_ab_userhost_message_create(ip, ip->address_controls);
	if (!ip->ab_userhost_textfield)
		ip->ab_userhost_textfield = o1k_conf_address_popup_ab_userhost_textfield_create(ip, ip->address_controls);
	if (!ip->ab_firstname_message)
		ip->ab_firstname_message = o1k_conf_address_popup_ab_firstname_message_create(ip, ip->address_controls);
	if (!ip->ab_firstname_textfield)
		ip->ab_firstname_textfield = o1k_conf_address_popup_ab_firstname_textfield_create(ip, ip->address_controls);
	if (!ip->ab_lastname_message)
		ip->ab_lastname_message = o1k_conf_address_popup_ab_lastname_message_create(ip, ip->address_controls);
	if (!ip->ab_lastname_textfield)
		ip->ab_lastname_textfield = o1k_conf_address_popup_ab_lastname_textfield_create(ip, ip->address_controls);
	if (!ip->ab_phone_message)
		ip->ab_phone_message = o1k_conf_address_popup_ab_phone_message_create(ip, ip->address_controls);
	if (!ip->ab_phone_textfield)
		ip->ab_phone_textfield = o1k_conf_address_popup_ab_phone_textfield_create(ip, ip->address_controls);
	if (!ip->ab_email_message)
		ip->ab_email_message = o1k_conf_address_popup_ab_email_message_create(ip, ip->address_controls);
	if (!ip->ab_email_textfield)
		ip->ab_email_textfield = o1k_conf_address_popup_ab_email_textfield_create(ip, ip->address_controls);
	return ip;
}

/*
 * Create object `address_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_address_popup_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 319,
		XV_HEIGHT, 226,
		XV_LABEL, "Address Book",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, TRUE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `address_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_address_controls_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `ab_file_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_file_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern Xv_opaque	o1k_conf_ab_file_menu_create(caddr_t, Xv_opaque);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 9,
		XV_Y, 10,
		PANEL_LABEL_STRING, "File...",
		PANEL_ITEM_MENU, o1k_conf_ab_file_menu_create((caddr_t) ip, ip->address_popup),
		NULL);
	return obj;
}

/*
 * Create object `ab_sort_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_sort_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern Xv_opaque	o1k_conf_ab_sort_menu_create(caddr_t, Xv_opaque);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 77,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Sort",
		PANEL_ITEM_MENU, o1k_conf_ab_sort_menu_create((caddr_t) ip, ip->address_popup),
		NULL);
	return obj;
}

/*
 * Create object `ab_delete_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_delete_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern void		ab_delete(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 138,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Delete",
		PANEL_NOTIFY_PROC, ab_delete,
		NULL);
	return obj;
}

/*
 * Create object `ab_new_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_new_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern void		ab_new(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 10,
		PANEL_LABEL_STRING, "New",
		PANEL_NOTIFY_PROC, ab_new,
		NULL);
	return obj;
}

/*
 * Create object `ab_add_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_add_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern void		ab_add(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Add",
		XV_SHOW, FALSE,
		PANEL_NOTIFY_PROC, ab_add,
		NULL);
	return obj;
}

/*
 * Create object `ab_cancel_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_cancel_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_address_popup_ab_cancel_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 248,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Cancel",
		XV_SHOW, FALSE,
		PANEL_NOTIFY_PROC, o1k_conf_address_popup_ab_cancel_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `ab_done_button' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_done_button_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_address_popup_ab_done_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 256,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Done",
		PANEL_NOTIFY_PROC, o1k_conf_address_popup_ab_done_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Create object `list1' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_list1_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	extern int		ab_select(Panel_item, char *, Xv_opaque, Panel_list_op, Event *, int);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_LIST,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 20,
		XV_Y, 40,
		PANEL_LIST_WIDTH, 270,
		PANEL_LIST_DISPLAY_ROWS, 3,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		PANEL_CHOOSE_ONE, TRUE,
		PANEL_CHOOSE_NONE, TRUE,
		PANEL_NOTIFY_PROC, ab_select,
		NULL);
	return obj;
}

/*
 * Create object `ab_userhost_message' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_userhost_message_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 20,
		XV_Y, 120,
		PANEL_LABEL_STRING, "User@Host:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_userhost_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_userhost_textfield_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 120,
		PANEL_VALUE_DISPLAY_LENGTH, 26,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_firstname_message' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_firstname_message_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 20,
		XV_Y, 140,
		PANEL_LABEL_STRING, "First Name:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_firstname_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_firstname_textfield_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 140,
		PANEL_VALUE_DISPLAY_LENGTH, 26,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_lastname_message' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_lastname_message_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 20,
		XV_Y, 160,
		PANEL_LABEL_STRING, "Last Name:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_lastname_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_lastname_textfield_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 160,
		PANEL_VALUE_DISPLAY_LENGTH, 26,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_phone_message' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_phone_message_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 20,
		XV_Y, 180,
		PANEL_LABEL_STRING, "Phone #:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_phone_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_phone_textfield_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 180,
		PANEL_VALUE_DISPLAY_LENGTH, 26,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_email_message' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_email_message_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 20,
		XV_Y, 200,
		PANEL_LABEL_STRING, "Email Addr:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `ab_email_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_address_popup_ab_email_textfield_create(o1k_conf_address_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 100,
		XV_Y, 200,
		PANEL_VALUE_DISPLAY_LENGTH, 26,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `h261_popup'.
 */
o1k_conf_h261_popup_objects *
o1k_conf_h261_popup_objects_initialize(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_h261_popup_objects *) calloc(1, sizeof (o1k_conf_h261_popup_objects))))
		return (o1k_conf_h261_popup_objects *) NULL;
	if (!ip->h261_popup)
		ip->h261_popup = o1k_conf_h261_popup_h261_popup_create(ip, owner);
	if (!ip->h261_controls)
		ip->h261_controls = o1k_conf_h261_popup_h261_controls_create(ip, ip->h261_popup);
	if (!ip->h261_cif_setting)
		ip->h261_cif_setting = o1k_conf_h261_popup_h261_cif_setting_create(ip, ip->h261_controls);
	if (!ip->h261_pip_setting)
		ip->h261_pip_setting = o1k_conf_h261_popup_h261_pip_setting_create(ip, ip->h261_controls);
	if (!ip->h261_bitrate_slider)
		ip->h261_bitrate_slider = o1k_conf_h261_popup_h261_bitrate_slider_create(ip, ip->h261_controls);
	if (!ip->h261_bitrate_message)
		ip->h261_bitrate_message = o1k_conf_h261_popup_h261_bitrate_message_create(ip, ip->h261_controls);
	if (!ip->h261_quant_slider)
		ip->h261_quant_slider = o1k_conf_h261_popup_h261_quant_slider_create(ip, ip->h261_controls);
	if (!ip->h261_maxquant_message)
		ip->h261_maxquant_message = o1k_conf_h261_popup_h261_maxquant_message_create(ip, ip->h261_controls);
	if (!ip->h261_frame_rate_slider)
		ip->h261_frame_rate_slider = o1k_conf_h261_popup_h261_frame_rate_slider_create(ip, ip->h261_controls);
	if (!ip->h261_framerate_message)
		ip->h261_framerate_message = o1k_conf_h261_popup_h261_framerate_message_create(ip, ip->h261_controls);
	if (!ip->h261_refresh_slider)
		ip->h261_refresh_slider = o1k_conf_h261_popup_h261_refresh_slider_create(ip, ip->h261_controls);
	if (!ip->h261_refresh_message)
		ip->h261_refresh_message = o1k_conf_h261_popup_h261_refresh_message_create(ip, ip->h261_controls);
	if (!ip->h261_close_button)
		ip->h261_close_button = o1k_conf_h261_popup_h261_close_button_create(ip, ip->h261_controls);
	return ip;
}

/*
 * Create object `h261_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_popup_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 315,
		XV_HEIGHT, 196,
		XV_LABEL, "H261 Settings",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, FALSE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `h261_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_controls_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `h261_cif_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_cif_setting_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		h261_set_videosize(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 10,
		PANEL_CHOICE_NROWS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_CHOOSE_NONE, FALSE,
		PANEL_LABEL_STRING, "Video Size:",
		PANEL_NOTIFY_PROC, h261_set_videosize,
		PANEL_CHOICE_STRINGS,
			"CIF",
			"QCIF",
			NULL,
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `h261_pip_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_pip_setting_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		h261_set_pip(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TOGGLE, PANEL_FEEDBACK, PANEL_MARKED,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 10,
		PANEL_CHOICE_NCOLS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_LABEL_STRING, "PIP:",
		PANEL_NOTIFY_PROC, h261_set_pip,
		PANEL_CHOICE_STRING, 0, "",
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `h261_bitrate_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_bitrate_slider_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		h261_set_bitrate(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 50,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 96,
		PANEL_MAX_VALUE, 768,
		PANEL_VALUE, 256,
		PANEL_NOTIFY_PROC, h261_set_bitrate,
		NULL);
	return obj;
}

/*
 * Create object `h261_bitrate_message' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_bitrate_message_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 50,
		PANEL_LABEL_STRING, "Bitrate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `h261_quant_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_quant_slider_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		h261_set_maxquant(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 80,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 1,
		PANEL_MAX_VALUE, 30,
		PANEL_VALUE, 10,
		PANEL_NOTIFY_PROC, h261_set_maxquant,
		NULL);
	return obj;
}

/*
 * Create object `h261_maxquant_message' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_maxquant_message_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 80,
		PANEL_LABEL_STRING, "Max Quant",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `h261_frame_rate_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_frame_rate_slider_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		h261_set_framerate(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 110,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 1,
		PANEL_MAX_VALUE, 30,
		PANEL_VALUE, 10,
		PANEL_NOTIFY_PROC, h261_set_framerate,
		NULL);
	return obj;
}

/*
 * Create object `h261_framerate_message' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_framerate_message_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 110,
		PANEL_LABEL_STRING, "Frame Rate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `h261_refresh_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_refresh_slider_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		h261_set_refresh(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 140,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 0,
		PANEL_MAX_VALUE, 15000,
		PANEL_VALUE, 3000,
		PANEL_NOTIFY_PROC, h261_set_refresh,
		NULL);
	return obj;
}

/*
 * Create object `h261_refresh_message' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_refresh_message_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 140,
		PANEL_LABEL_STRING, "Refresh Period",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `h261_close_button' in the specified instance.
 */
Xv_opaque
o1k_conf_h261_popup_h261_close_button_create(o1k_conf_h261_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_h261_popup_h261_close_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 125,
		XV_Y, 170,
		PANEL_LABEL_STRING, "Close",
		PANEL_NOTIFY_PROC, o1k_conf_h261_popup_h261_close_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `status_popup'.
 */
o1k_conf_status_popup_objects *
o1k_conf_status_popup_objects_initialize(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_status_popup_objects *) calloc(1, sizeof (o1k_conf_status_popup_objects))))
		return (o1k_conf_status_popup_objects *) NULL;
	if (!ip->status_popup)
		ip->status_popup = o1k_conf_status_popup_status_popup_create(ip, owner);
	if (!ip->status_controls)
		ip->status_controls = o1k_conf_status_popup_status_controls_create(ip, ip->status_popup);
	if (!ip->status_setting)
		ip->status_setting = o1k_conf_status_popup_status_setting_create(ip, ip->status_controls);
	if (!ip->status_video_controls)
		ip->status_video_controls = o1k_conf_status_popup_status_video_controls_create(ip, ip->status_popup);
	if (!ip->status_video_message)
		ip->status_video_message = o1k_conf_status_popup_status_video_message_create(ip, ip->status_video_controls);
	if (!ip->status_video_t_message)
		ip->status_video_t_message = o1k_conf_status_popup_status_video_t_message_create(ip, ip->status_video_controls);
	if (!ip->status_video_r_message)
		ip->status_video_r_message = o1k_conf_status_popup_status_video_r_message_create(ip, ip->status_video_controls);
	if (!ip->status_vt_br_textfield)
		ip->status_vt_br_textfield = o1k_conf_status_popup_status_vt_br_textfield_create(ip, ip->status_video_controls);
	if (!ip->status_vr_br_textfield)
		ip->status_vr_br_textfield = o1k_conf_status_popup_status_vr_br_textfield_create(ip, ip->status_video_controls);
	if (!ip->status_vt_br_message)
		ip->status_vt_br_message = o1k_conf_status_popup_status_vt_br_message_create(ip, ip->status_video_controls);
	if (!ip->status_vr_br_message)
		ip->status_vr_br_message = o1k_conf_status_popup_status_vr_br_message_create(ip, ip->status_video_controls);
	if (!ip->status_vt_fr_textfield)
		ip->status_vt_fr_textfield = o1k_conf_status_popup_status_vt_fr_textfield_create(ip, ip->status_video_controls);
	if (!ip->status_vt_fr_message)
		ip->status_vt_fr_message = o1k_conf_status_popup_status_vt_fr_message_create(ip, ip->status_video_controls);
	if (!ip->status_vr_fr_textfield)
		ip->status_vr_fr_textfield = o1k_conf_status_popup_status_vr_fr_textfield_create(ip, ip->status_video_controls);
	if (!ip->status_vr_fr_message)
		ip->status_vr_fr_message = o1k_conf_status_popup_status_vr_fr_message_create(ip, ip->status_video_controls);
	if (!ip->status_audio_controls)
		ip->status_audio_controls = o1k_conf_status_popup_status_audio_controls_create(ip, ip->status_popup);
	if (!ip->status_audio_message)
		ip->status_audio_message = o1k_conf_status_popup_status_audio_message_create(ip, ip->status_audio_controls);
	if (!ip->status_audio_t_message)
		ip->status_audio_t_message = o1k_conf_status_popup_status_audio_t_message_create(ip, ip->status_audio_controls);
	if (!ip->status_audio_r_message)
		ip->status_audio_r_message = o1k_conf_status_popup_status_audio_r_message_create(ip, ip->status_audio_controls);
	if (!ip->status_at_br_textfield)
		ip->status_at_br_textfield = o1k_conf_status_popup_status_at_br_textfield_create(ip, ip->status_audio_controls);
	if (!ip->status_ar_br_textfield)
		ip->status_ar_br_textfield = o1k_conf_status_popup_status_ar_br_textfield_create(ip, ip->status_audio_controls);
	if (!ip->status_at_br_message)
		ip->status_at_br_message = o1k_conf_status_popup_status_at_br_message_create(ip, ip->status_audio_controls);
	if (!ip->status_ar_br_message)
		ip->status_ar_br_message = o1k_conf_status_popup_status_ar_br_message_create(ip, ip->status_audio_controls);
	if (!ip->status_network_controls)
		ip->status_network_controls = o1k_conf_status_popup_status_network_controls_create(ip, ip->status_popup);
	if (!ip->status_network_message)
		ip->status_network_message = o1k_conf_status_popup_status_network_message_create(ip, ip->status_network_controls);
	if (!ip->status_network_t_message)
		ip->status_network_t_message = o1k_conf_status_popup_status_network_t_message_create(ip, ip->status_network_controls);
	if (!ip->status_network_r_message)
		ip->status_network_r_message = o1k_conf_status_popup_status_network_r_message_create(ip, ip->status_network_controls);
	if (!ip->status_nt_vp_textfield)
		ip->status_nt_vp_textfield = o1k_conf_status_popup_status_nt_vp_textfield_create(ip, ip->status_network_controls);
	if (!ip->status_nt_vp_message)
		ip->status_nt_vp_message = o1k_conf_status_popup_status_nt_vp_message_create(ip, ip->status_network_controls);
	if (!ip->status_nr_vp_textfield)
		ip->status_nr_vp_textfield = o1k_conf_status_popup_status_nr_vp_textfield_create(ip, ip->status_network_controls);
	if (!ip->status_nr_vp_message)
		ip->status_nr_vp_message = o1k_conf_status_popup_status_nr_vp_message_create(ip, ip->status_network_controls);
	if (!ip->status_nt_ap_textfield)
		ip->status_nt_ap_textfield = o1k_conf_status_popup_status_nt_ap_textfield_create(ip, ip->status_network_controls);
	if (!ip->status_nt_ap_message)
		ip->status_nt_ap_message = o1k_conf_status_popup_status_nt_ap_message_create(ip, ip->status_network_controls);
	if (!ip->status_nr_ap_textfield)
		ip->status_nr_ap_textfield = o1k_conf_status_popup_status_nr_ap_textfield_create(ip, ip->status_network_controls);
	if (!ip->status_nr_ap_message1)
		ip->status_nr_ap_message1 = o1k_conf_status_popup_status_nr_ap_message1_create(ip, ip->status_network_controls);
	if (!ip->status_n_vd_textfield)
		ip->status_n_vd_textfield = o1k_conf_status_popup_status_n_vd_textfield_create(ip, ip->status_network_controls);
	if (!ip->status_n_vd_message)
		ip->status_n_vd_message = o1k_conf_status_popup_status_n_vd_message_create(ip, ip->status_network_controls);
	if (!ip->status_n_ad_textfield)
		ip->status_n_ad_textfield = o1k_conf_status_popup_status_n_ad_textfield_create(ip, ip->status_network_controls);
	if (!ip->status_n_ad_message)
		ip->status_n_ad_message = o1k_conf_status_popup_status_n_ad_message_create(ip, ip->status_network_controls);
	return ip;
}

/*
 * Create object `status_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_popup_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 289,
		XV_HEIGHT, 400,
		XV_LABEL, "Status Information",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, TRUE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `status_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_controls_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, 50,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `status_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_setting_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	extern void		status_set_select(Panel_item, unsigned int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TOGGLE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 26,
		XV_Y, 10,
		PANEL_CHOICE_NROWS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_LABEL_STRING, "Show:",
		PANEL_NOTIFY_PROC, status_set_select,
		PANEL_CHOICE_STRINGS,
			"Video",
			"Audio",
			"Network",
			NULL,
		PANEL_VALUE, 7,
		NULL);
	return obj;
}

/*
 * Create object `status_video_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_video_controls_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, (int)xv_get(ip->status_controls, XV_Y) +
		      (int)xv_get(ip->status_controls, XV_HEIGHT),
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, 100,
		WIN_BORDER, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_video_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_video_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 93,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Video Status",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_video_t_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_video_t_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 41,
		XV_Y, 30,
		PANEL_LABEL_STRING, "- Transmit -",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_video_r_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_video_r_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 171,
		XV_Y, 30,
		PANEL_LABEL_STRING, "- Receive -",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vt_br_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vt_br_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 50,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 10,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_VALUE, "0",
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vr_br_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vr_br_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 50,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 10,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_VALUE, "0",
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vt_br_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vt_br_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 80,
		XV_Y, 52,
		PANEL_LABEL_STRING, "Bitrate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vr_br_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vr_br_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 220,
		XV_Y, 52,
		PANEL_LABEL_STRING, "Bitrate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vt_fr_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vt_fr_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 71,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 10,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_VALUE, "0",
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vt_fr_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vt_fr_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 60,
		XV_Y, 71,
		PANEL_LABEL_STRING, "Framerate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vr_fr_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vr_fr_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 71,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 10,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_VALUE, "0",
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_vr_fr_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_vr_fr_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 71,
		PANEL_LABEL_STRING, "Framerate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_audio_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_audio_controls_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, (int)xv_get(ip->status_video_controls, XV_Y) +
		      (int)xv_get(ip->status_video_controls, XV_HEIGHT) + 2,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, 100,
		WIN_BORDER, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_audio_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_audio_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 93,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Audio Status",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_audio_t_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_audio_t_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 41,
		XV_Y, 30,
		PANEL_LABEL_STRING, "- Transmit -",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_audio_r_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_audio_r_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 171,
		XV_Y, 30,
		PANEL_LABEL_STRING, "- Receive -",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_at_br_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_at_br_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 50,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 10,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_VALUE, "0",
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_ar_br_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_ar_br_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 50,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 10,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_VALUE, "0",
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_at_br_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_at_br_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 60,
		XV_Y, 51,
		PANEL_LABEL_STRING, "Bitrate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_ar_br_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_ar_br_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 51,
		PANEL_LABEL_STRING, "Bitrate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_network_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_network_controls_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, (int)xv_get(ip->status_audio_controls, XV_Y) +
		      (int)xv_get(ip->status_audio_controls, XV_HEIGHT) + 2,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_network_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_network_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 87,
		XV_Y, 10,
		PANEL_LABEL_STRING, "Network Status",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_network_t_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_network_t_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 35,
		XV_Y, 30,
		PANEL_LABEL_STRING, "- Transmit -",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_network_r_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_network_r_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 165,
		XV_Y, 30,
		PANEL_LABEL_STRING, "- Receive -",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nt_vp_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nt_vp_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 8,
		XV_Y, 50,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nt_vp_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nt_vp_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 58,
		XV_Y, 50,
		PANEL_LABEL_STRING, "Vid Packets",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nr_vp_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nr_vp_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 50,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nr_vp_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nr_vp_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 50,
		PANEL_LABEL_STRING, "Vid Packets",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nt_ap_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nt_ap_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 8,
		XV_Y, 70,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nt_ap_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nt_ap_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 58,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Aud Packets",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nr_ap_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nr_ap_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 150,
		XV_Y, 70,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_nr_ap_message1' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_nr_ap_message1_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 200,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Aud Packets",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_n_vd_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_n_vd_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 60,
		XV_Y, 100,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_n_vd_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_n_vd_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 120,
		XV_Y, 100,
		PANEL_LABEL_STRING, "Video Frame Drops",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_n_ad_textfield' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_n_ad_textfield_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 60,
		XV_Y, 120,
		PANEL_VALUE_DISPLAY_LENGTH, 6,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `status_n_ad_message' in the specified instance.
 */
Xv_opaque
o1k_conf_status_popup_status_n_ad_message_create(o1k_conf_status_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 120,
		XV_Y, 120,
		PANEL_LABEL_STRING, "Audio Frame Drops",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `join_popup'.
 */
o1k_conf_join_popup_objects *
o1k_conf_join_popup_objects_initialize(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_join_popup_objects *) calloc(1, sizeof (o1k_conf_join_popup_objects))))
		return (o1k_conf_join_popup_objects *) NULL;
	if (!ip->join_popup)
		ip->join_popup = o1k_conf_join_popup_join_popup_create(ip, owner);
	if (!ip->controls1)
		ip->controls1 = o1k_conf_join_popup_controls1_create(ip, ip->join_popup);
	if (!ip->join_userhost_tf)
		ip->join_userhost_tf = o1k_conf_join_popup_join_userhost_tf_create(ip, ip->controls1);
	if (!ip->join_audio_format_message)
		ip->join_audio_format_message = o1k_conf_join_popup_join_audio_format_message_create(ip, ip->controls1);
	if (!ip->join_video_format_message)
		ip->join_video_format_message = o1k_conf_join_popup_join_video_format_message_create(ip, ip->controls1);
	if (!ip->join_audio_type_message)
		ip->join_audio_type_message = o1k_conf_join_popup_join_audio_type_message_create(ip, ip->controls1);
	if (!ip->join_audio_type_tf)
		ip->join_audio_type_tf = o1k_conf_join_popup_join_audio_type_tf_create(ip, ip->controls1);
	if (!ip->join_video_type_message)
		ip->join_video_type_message = o1k_conf_join_popup_join_video_type_message_create(ip, ip->controls1);
	if (!ip->join_video_type_tf)
		ip->join_video_type_tf = o1k_conf_join_popup_join_video_type_tf_create(ip, ip->controls1);
	if (!ip->join_audio_channels_message)
		ip->join_audio_channels_message = o1k_conf_join_popup_join_audio_channels_message_create(ip, ip->controls1);
	if (!ip->join_audio_channels_tf)
		ip->join_audio_channels_tf = o1k_conf_join_popup_join_audio_channels_tf_create(ip, ip->controls1);
	if (!ip->join_video_size_message)
		ip->join_video_size_message = o1k_conf_join_popup_join_video_size_message_create(ip, ip->controls1);
	if (!ip->join_video_size_tf)
		ip->join_video_size_tf = o1k_conf_join_popup_join_video_size_tf_create(ip, ip->controls1);
	if (!ip->join_audio_samples_message)
		ip->join_audio_samples_message = o1k_conf_join_popup_join_audio_samples_message_create(ip, ip->controls1);
	if (!ip->join_audio_samples_tf)
		ip->join_audio_samples_tf = o1k_conf_join_popup_join_audio_samples_tf_create(ip, ip->controls1);
	if (!ip->join_video_framerate_message)
		ip->join_video_framerate_message = o1k_conf_join_popup_join_video_framerate_message_create(ip, ip->controls1);
	if (!ip->join_video_framerate_tf)
		ip->join_video_framerate_tf = o1k_conf_join_popup_join_video_framerate_tf_create(ip, ip->controls1);
	if (!ip->join_yes_button)
		ip->join_yes_button = o1k_conf_join_popup_join_yes_button_create(ip, ip->controls1);
	if (!ip->join_no_button)
		ip->join_no_button = o1k_conf_join_popup_join_no_button_create(ip, ip->controls1);
	if (!ip->joing_accept_message)
		ip->joing_accept_message = o1k_conf_join_popup_joing_accept_message_create(ip, ip->controls1);
	return ip;
}

/*
 * Create object `join_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_popup_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 381,
		XV_HEIGHT, 180,
		XV_LABEL, "Being Called...",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, FALSE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `controls1' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_controls1_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `join_userhost_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_userhost_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 30,
		XV_Y, 20,
		PANEL_VALUE_DISPLAY_LENGTH, 30,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LABEL_STRING, "User@Host",
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_format_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_format_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 55,
		XV_Y, 50,
		PANEL_LABEL_STRING, "Audio Format",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_format_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_format_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 236,
		XV_Y, 50,
		PANEL_LABEL_STRING, "Video Format",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_type_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_type_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 18,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Type:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_type_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_type_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 118,
		XV_Y, 70,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_type_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_type_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 198,
		XV_Y, 70,
		PANEL_LABEL_STRING, "Type:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_type_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_type_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 298,
		XV_Y, 70,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_channels_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_channels_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 18,
		XV_Y, 90,
		PANEL_LABEL_STRING, "Channels:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_channels_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_channels_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 118,
		XV_Y, 90,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_size_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_size_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 198,
		XV_Y, 90,
		PANEL_LABEL_STRING, "Size:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_size_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_size_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 298,
		XV_Y, 90,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_samples_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_samples_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 18,
		XV_Y, 110,
		PANEL_LABEL_STRING, "Sample Rate:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_audio_samples_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_audio_samples_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 118,
		XV_Y, 110,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_framerate_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_framerate_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 198,
		XV_Y, 110,
		PANEL_LABEL_STRING, "Frame Rate:",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_video_framerate_tf' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_video_framerate_tf_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_TEXT,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 298,
		XV_Y, 110,
		PANEL_VALUE_DISPLAY_LENGTH, 8,
		PANEL_VALUE_STORED_LENGTH, 80,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_READ_ONLY, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `join_yes_button' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_yes_button_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	extern void		joing_accept_call(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 233,
		XV_Y, 149,
		PANEL_LABEL_STRING, "Yes",
		PANEL_NOTIFY_PROC, joing_accept_call,
		NULL);
	return obj;
}

/*
 * Create object `join_no_button' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_join_no_button_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	extern void		join_deny_call(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 283,
		XV_Y, 149,
		PANEL_LABEL_STRING, "No",
		PANEL_NOTIFY_PROC, join_deny_call,
		NULL);
	return obj;
}

/*
 * Create object `joing_accept_message' in the specified instance.
 */
Xv_opaque
o1k_conf_join_popup_joing_accept_message_create(o1k_conf_join_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 50,
		XV_Y, 152,
		PANEL_LABEL_STRING, "Do you accept this call?",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `call_timeout_popup'.
 */
o1k_conf_call_timeout_popup_objects *
o1k_conf_call_timeout_popup_objects_initialize(o1k_conf_call_timeout_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_call_timeout_popup_objects *) calloc(1, sizeof (o1k_conf_call_timeout_popup_objects))))
		return (o1k_conf_call_timeout_popup_objects *) NULL;
	if (!ip->call_timeout_popup)
		ip->call_timeout_popup = o1k_conf_call_timeout_popup_call_timeout_popup_create(ip, owner);
	if (!ip->call_timeout_controls)
		ip->call_timeout_controls = o1k_conf_call_timeout_popup_call_timeout_controls_create(ip, ip->call_timeout_popup);
	if (!ip->call_timeout_message)
		ip->call_timeout_message = o1k_conf_call_timeout_popup_call_timeout_message_create(ip, ip->call_timeout_controls);
	if (!ip->call_timeout_button)
		ip->call_timeout_button = o1k_conf_call_timeout_popup_call_timeout_button_create(ip, ip->call_timeout_controls);
	return ip;
}

/*
 * Create object `call_timeout_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_call_timeout_popup_call_timeout_popup_create(o1k_conf_call_timeout_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 168,
		XV_HEIGHT, 52,
		XV_LABEL, " ",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, FALSE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `call_timeout_controls' in the specified instance.
 */
Xv_opaque
o1k_conf_call_timeout_popup_call_timeout_controls_create(o1k_conf_call_timeout_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `call_timeout_message' in the specified instance.
 */
Xv_opaque
o1k_conf_call_timeout_popup_call_timeout_message_create(o1k_conf_call_timeout_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 6,
		PANEL_LABEL_STRING, "User Did Not Respond",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `call_timeout_button' in the specified instance.
 */
Xv_opaque
o1k_conf_call_timeout_popup_call_timeout_button_create(o1k_conf_call_timeout_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_call_timeout_popup_call_timeout_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 66,
		XV_Y, 26,
		PANEL_LABEL_STRING, "OK",
		PANEL_NOTIFY_PROC, o1k_conf_call_timeout_popup_call_timeout_button_notify_callback,
		NULL);
	return obj;
}

/*
 * Initialize an instance of object `jpeg_popup'.
 */
o1k_conf_jpeg_popup_objects *
o1k_conf_jpeg_popup_objects_initialize(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	if (!ip && !(ip = (o1k_conf_jpeg_popup_objects *) calloc(1, sizeof (o1k_conf_jpeg_popup_objects))))
		return (o1k_conf_jpeg_popup_objects *) NULL;
	if (!ip->jpeg_popup)
		ip->jpeg_popup = o1k_conf_jpeg_popup_jpeg_popup_create(ip, owner);
	if (!ip->controls2)
		ip->controls2 = o1k_conf_jpeg_popup_controls2_create(ip, ip->jpeg_popup);
	if (!ip->jpeg_cif_setting)
		ip->jpeg_cif_setting = o1k_conf_jpeg_popup_jpeg_cif_setting_create(ip, ip->controls2);
	if (!ip->jpeg_frame_rate_slider)
		ip->jpeg_frame_rate_slider = o1k_conf_jpeg_popup_jpeg_frame_rate_slider_create(ip, ip->controls2);
	if (!ip->jpeg_framerate_message)
		ip->jpeg_framerate_message = o1k_conf_jpeg_popup_jpeg_framerate_message_create(ip, ip->controls2);
	if (!ip->jpeg_quality_slider)
		ip->jpeg_quality_slider = o1k_conf_jpeg_popup_jpeg_quality_slider_create(ip, ip->controls2);
	if (!ip->jpeg_quality_message)
		ip->jpeg_quality_message = o1k_conf_jpeg_popup_jpeg_quality_message_create(ip, ip->controls2);
	if (!ip->jpeg_close_button)
		ip->jpeg_close_button = o1k_conf_jpeg_popup_jpeg_close_button_create(ip, ip->controls2);
	return ip;
}

/*
 * Create object `jpeg_popup' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_popup_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, FRAME_CMD,
		XV_KEY_DATA, INSTANCE, ip,
		XV_WIDTH, 274,
		XV_HEIGHT, 138,
		XV_LABEL, "Jpeg Settings",
		XV_SHOW, FALSE,
		FRAME_SHOW_FOOTER, FALSE,
		FRAME_SHOW_RESIZE_CORNER, FALSE,
		FRAME_CMD_PUSHPIN_IN, FALSE,
		NULL);
	xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
	return obj;
}

/*
 * Create object `controls2' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_controls2_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 0,
		XV_Y, 0,
		XV_WIDTH, WIN_EXTEND_TO_EDGE,
		XV_HEIGHT, WIN_EXTEND_TO_EDGE,
		WIN_BORDER, FALSE,
		NULL);
	return obj;
}

/*
 * Create object `jpeg_cif_setting' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_cif_setting_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	extern void		jpeg_set_videosize(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_CHOICE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 10,
		PANEL_CHOICE_NROWS, 1,
		PANEL_LAYOUT, PANEL_HORIZONTAL,
		PANEL_CHOOSE_NONE, FALSE,
		PANEL_LABEL_STRING, "Video Size:",
		PANEL_NOTIFY_PROC, jpeg_set_videosize,
		PANEL_CHOICE_STRINGS,
			"CIF",
			"QCIF",
			NULL,
		PANEL_VALUE, 1,
		NULL);
	return obj;
}

/*
 * Create object `jpeg_frame_rate_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_frame_rate_slider_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	extern void		jpeg_set_framerate(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 50,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 1,
		PANEL_MAX_VALUE, 30,
		PANEL_VALUE, 10,
		PANEL_NOTIFY_PROC, jpeg_set_framerate,
		NULL);
	return obj;
}

/*
 * Create object `jpeg_framerate_message' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_framerate_message_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 190,
		XV_Y, 50,
		PANEL_LABEL_STRING, "Frame Rate",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `jpeg_quality_slider' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_quality_slider_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	extern void		jpeg_set_quality(Panel_item, int, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_SLIDER,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 10,
		XV_Y, 80,
		PANEL_SLIDER_WIDTH, 100,
		PANEL_TICKS, 0,
		PANEL_DIRECTION, PANEL_HORIZONTAL,
		PANEL_SLIDER_END_BOXES, TRUE,
		PANEL_SHOW_RANGE, FALSE,
		PANEL_SHOW_VALUE, TRUE,
		PANEL_MIN_VALUE, 1,
		PANEL_MAX_VALUE, 80,
		PANEL_VALUE, 50,
		PANEL_NOTIFY_PROC, jpeg_set_quality,
		NULL);
	return obj;
}

/*
 * Create object `jpeg_quality_message' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_quality_message_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_MESSAGE,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 190,
		XV_Y, 80,
		PANEL_LABEL_STRING, "Quality",
		PANEL_LABEL_BOLD, TRUE,
		NULL);
	return obj;
}

/*
 * Create object `jpeg_close_button' in the specified instance.
 */
Xv_opaque
o1k_conf_jpeg_popup_jpeg_close_button_create(o1k_conf_jpeg_popup_objects *ip, Xv_opaque owner)
{
	extern void		o1k_conf_jpeg_popup_jpeg_close_button_notify_callback(Panel_item, Event *);
	Xv_opaque	obj;
	
	obj = xv_create(owner, PANEL_BUTTON,
		XV_KEY_DATA, INSTANCE, ip,
		XV_X, 110,
		XV_Y, 110,
		PANEL_LABEL_STRING, "Close",
		PANEL_NOTIFY_PROC, o1k_conf_jpeg_popup_jpeg_close_button_notify_callback,
		NULL);
	return obj;
}

