2010-12-24 04:26:24 +00:00
|
|
|
/* $Id: gadget.c,v 1.1.1.1 2006/03/17 19:52:21 zicodxx Exp $ */
|
2006-03-20 16:43:15 +00:00
|
|
|
/*
|
|
|
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
|
|
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
|
|
|
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
|
|
|
|
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
|
|
|
|
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
|
|
|
|
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
|
|
|
|
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
|
|
|
|
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
|
2010-12-24 04:26:24 +00:00
|
|
|
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
|
2006-03-20 16:43:15 +00:00
|
|
|
COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef RCS
|
2010-12-24 04:26:24 +00:00
|
|
|
static char rcsid[] = "$Id: gadget.c,v 1.1.1.1 2006/03/17 19:52:21 zicodxx Exp $";
|
2006-03-20 16:43:15 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include "u_mem.h"
|
|
|
|
#include "fix.h"
|
2008-01-02 03:37:13 +00:00
|
|
|
#include "pstypes.h"
|
2006-03-20 16:43:15 +00:00
|
|
|
#include "gr.h"
|
|
|
|
#include "ui.h"
|
2011-10-23 09:07:18 +00:00
|
|
|
#include "event.h"
|
2011-10-25 01:38:12 +00:00
|
|
|
#include "mouse.h"
|
2011-12-18 12:33:51 +00:00
|
|
|
#include "window.h"
|
2008-04-08 12:51:21 +00:00
|
|
|
#include "error.h"
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
#include "key.h"
|
|
|
|
|
|
|
|
UI_GADGET * selected_gadget;
|
|
|
|
|
2012-03-03 12:12:25 +00:00
|
|
|
typedef struct event_gadget
|
|
|
|
{
|
|
|
|
event_type type;
|
|
|
|
UI_GADGET *gadget;
|
|
|
|
} event_gadget;
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
UI_GADGET * ui_gadget_add( UI_DIALOG * dlg, short kind, short x1, short y1, short x2, short y2 )
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
|
|
|
UI_GADGET * gadget;
|
|
|
|
|
2010-12-24 04:26:24 +00:00
|
|
|
gadget = (UI_GADGET *) d_malloc(sizeof(UI_GADGET));
|
2008-04-08 12:51:21 +00:00
|
|
|
if (gadget==NULL) Error("Could not create gadget: Out of memory");
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
if (dlg->gadget == NULL )
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->gadget = gadget;
|
2006-03-20 16:43:15 +00:00
|
|
|
gadget->prev = gadget;
|
|
|
|
gadget->next = gadget;
|
|
|
|
} else {
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->gadget->prev->next = gadget;
|
|
|
|
gadget->next = dlg->gadget;
|
|
|
|
gadget->prev = dlg->gadget->prev;
|
|
|
|
dlg->gadget->prev = gadget;
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
gadget->when_tab = NULL;
|
|
|
|
gadget->when_btab = NULL;
|
|
|
|
gadget->when_up = NULL;
|
|
|
|
gadget->when_down = NULL;
|
|
|
|
gadget->when_left = NULL;
|
|
|
|
gadget->when_right = NULL;
|
|
|
|
gadget->kind = kind;
|
|
|
|
gadget->status = 1;
|
|
|
|
gadget->oldstatus = 0;
|
|
|
|
if ( x1==0 && x2==0 && y1==0 && y2== 0 )
|
|
|
|
gadget->canvas = NULL;
|
|
|
|
else
|
2011-12-18 12:33:51 +00:00
|
|
|
gadget->canvas = gr_create_sub_canvas( window_get_canvas(ui_dialog_get_window( dlg )), x1, y1, x2-x1+1, y2-y1+1 );
|
2006-03-20 16:43:15 +00:00
|
|
|
gadget->x1 = gadget->canvas->cv_bitmap.bm_x;
|
|
|
|
gadget->y1 = gadget->canvas->cv_bitmap.bm_y;
|
|
|
|
gadget->x2 = gadget->canvas->cv_bitmap.bm_x+x2-x1+1;
|
|
|
|
gadget->y2 = gadget->canvas->cv_bitmap.bm_y+y2-y1+1;
|
|
|
|
gadget->parent = NULL;
|
|
|
|
gadget->hotkey = -1;
|
|
|
|
return gadget;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
void ui_gadget_delete_all( UI_DIALOG * dlg )
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
|
|
|
UI_GADGET * tmp;
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
while( dlg->gadget != NULL )
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
tmp = dlg->gadget;
|
2006-03-20 16:43:15 +00:00
|
|
|
if (tmp->next == tmp )
|
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->gadget = NULL;
|
2006-03-20 16:43:15 +00:00
|
|
|
} else {
|
|
|
|
tmp->next->prev = tmp->prev;
|
|
|
|
tmp->prev->next = tmp->next;
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->gadget = tmp->next;
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
if (tmp->canvas)
|
|
|
|
gr_free_sub_canvas( tmp->canvas );
|
|
|
|
|
|
|
|
|
|
|
|
if (tmp->kind == 1 ) // Button
|
|
|
|
{
|
|
|
|
UI_GADGET_BUTTON * but1 = (UI_GADGET_BUTTON *)tmp;
|
|
|
|
if (but1->text)
|
2008-01-23 17:25:09 +00:00
|
|
|
d_free( but1->text );
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
2012-07-24 09:29:43 +00:00
|
|
|
if (tmp->kind == 4 ) // Radio
|
|
|
|
{
|
|
|
|
UI_GADGET_RADIO * but1 = (UI_GADGET_RADIO *)tmp;
|
|
|
|
if (but1->text)
|
|
|
|
d_free( but1->text );
|
|
|
|
}
|
|
|
|
|
2006-03-20 16:43:15 +00:00
|
|
|
if (tmp->kind == 6 ) // Inputbox
|
|
|
|
{
|
|
|
|
UI_GADGET_INPUTBOX * but1 = (UI_GADGET_INPUTBOX *)tmp;
|
2008-01-23 17:25:09 +00:00
|
|
|
d_free( but1->text );
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (tmp->kind == 5 ) // Checkbox
|
|
|
|
{
|
|
|
|
UI_GADGET_CHECKBOX * but1 = (UI_GADGET_CHECKBOX *)tmp;
|
2008-01-23 17:25:09 +00:00
|
|
|
d_free( but1->text );
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (tmp->kind == 9 ) // Icon
|
|
|
|
{
|
|
|
|
UI_GADGET_ICON * but1 = (UI_GADGET_ICON *)tmp;
|
2008-01-23 17:25:09 +00:00
|
|
|
d_free( but1->text );
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-01-23 17:25:09 +00:00
|
|
|
d_free( tmp );
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-12-18 12:33:51 +00:00
|
|
|
#if 0
|
2011-01-17 14:41:05 +00:00
|
|
|
int is_under_another_window( UI_DIALOG * dlg, UI_GADGET * gadget )
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
UI_DIALOG * temp;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
temp = dlg->next;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
while( temp != NULL ) {
|
|
|
|
if ( ( gadget->x1 > temp->x) &&
|
|
|
|
( gadget->x1 < (temp->x+temp->width) ) &&
|
|
|
|
( gadget->y1 > temp->y) &&
|
|
|
|
( gadget->y1 < (temp->y+temp->height) )
|
|
|
|
)
|
|
|
|
{
|
|
|
|
//gadget->status =1;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ( ( gadget->x2 > temp->x) &&
|
|
|
|
( gadget->x2 < (temp->x+temp->width) ) &&
|
|
|
|
( gadget->y2 > temp->y) &&
|
|
|
|
( gadget->y2 < (temp->y+temp->height) )
|
|
|
|
)
|
|
|
|
{
|
|
|
|
//gadget->status =1;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
temp = temp->next;
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
2011-10-23 09:07:18 +00:00
|
|
|
#endif
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
int ui_mouse_on_gadget( UI_GADGET * gadget )
|
|
|
|
{
|
2011-10-23 09:07:18 +00:00
|
|
|
int x, y, z;
|
|
|
|
|
|
|
|
mouse_get_pos(&x, &y, &z);
|
|
|
|
if ((x >= gadget->x1) && (x <= gadget->x2-1) && (y >= gadget->y1) && (y <= gadget->y2-1) )
|
|
|
|
{
|
2011-12-18 12:33:51 +00:00
|
|
|
#if 0 // check is no longer required - if it is under another window, that dialog's handler would have returned 1
|
2012-03-03 12:12:25 +00:00
|
|
|
if (is_under_another_window(dlg, gadget))
|
2006-03-20 16:43:15 +00:00
|
|
|
return 0;
|
2011-10-23 09:07:18 +00:00
|
|
|
#endif
|
2006-03-20 16:43:15 +00:00
|
|
|
return 1;
|
|
|
|
} else
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2012-03-03 12:12:25 +00:00
|
|
|
int ui_gadget_do(UI_DIALOG *dlg, UI_GADGET *g, d_event *event)
|
|
|
|
{
|
|
|
|
switch( g->kind )
|
|
|
|
{
|
|
|
|
case 1:
|
|
|
|
return ui_button_do(dlg, (UI_GADGET_BUTTON *)g, event);
|
|
|
|
break;
|
|
|
|
case 2:
|
|
|
|
return ui_listbox_do(dlg, (UI_GADGET_LISTBOX *)g, event);
|
|
|
|
break;
|
|
|
|
case 3:
|
|
|
|
return ui_scrollbar_do(dlg, (UI_GADGET_SCROLLBAR *)g, event);
|
|
|
|
break;
|
|
|
|
case 4:
|
|
|
|
return ui_radio_do(dlg, (UI_GADGET_RADIO *)g, event);
|
|
|
|
break;
|
|
|
|
case 5:
|
|
|
|
return ui_checkbox_do(dlg, (UI_GADGET_CHECKBOX *)g, event);
|
|
|
|
break;
|
|
|
|
case 6:
|
|
|
|
return ui_inputbox_do(dlg, (UI_GADGET_INPUTBOX *)g, event);
|
|
|
|
break;
|
|
|
|
case 7:
|
|
|
|
return ui_userbox_do(dlg, (UI_GADGET_USERBOX *)g, event);
|
|
|
|
break;
|
|
|
|
case 8:
|
|
|
|
return ui_keytrap_do((UI_GADGET_KEYTRAP *)g, event);
|
|
|
|
break;
|
|
|
|
case 9:
|
|
|
|
return ui_icon_do(dlg, (UI_GADGET_ICON *)g, event);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int ui_gadget_send_event(UI_DIALOG *dlg, event_type type, UI_GADGET *gadget)
|
|
|
|
{
|
|
|
|
event_gadget event;
|
|
|
|
|
|
|
|
event.type = type;
|
|
|
|
event.gadget = gadget;
|
|
|
|
|
|
|
|
if (gadget->parent)
|
|
|
|
return ui_gadget_do(dlg, gadget->parent, (d_event *) &event);
|
|
|
|
|
|
|
|
return window_send_event(ui_dialog_get_window(dlg), (d_event *) &event);
|
|
|
|
}
|
|
|
|
|
|
|
|
UI_GADGET *ui_event_get_gadget(d_event *event)
|
|
|
|
{
|
2012-03-05 11:07:57 +00:00
|
|
|
Assert(event->type >= EVENT_UI_GADGET_PRESSED); // Any UI event
|
2012-03-03 12:12:25 +00:00
|
|
|
return ((event_gadget *) event)->gadget;
|
|
|
|
}
|
|
|
|
|
2011-10-23 09:07:18 +00:00
|
|
|
int ui_dialog_do_gadgets(UI_DIALOG * dlg, d_event *event)
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
2011-10-23 09:07:18 +00:00
|
|
|
int keypress = 0;
|
2006-03-20 16:43:15 +00:00
|
|
|
UI_GADGET * tmp, * tmp1;
|
2012-03-12 02:31:48 +00:00
|
|
|
window *wind;
|
2011-10-23 09:07:18 +00:00
|
|
|
int rval = 0;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2011-10-23 09:07:18 +00:00
|
|
|
if (event->type == EVENT_KEY_COMMAND)
|
|
|
|
keypress = event_key_get(event);
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
tmp = dlg->gadget;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2011-10-25 01:38:12 +00:00
|
|
|
if (tmp == NULL) return 0;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
if (selected_gadget==NULL)
|
|
|
|
selected_gadget = tmp;
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
tmp1 = dlg->keyboard_focus_gadget;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
do
|
|
|
|
{
|
|
|
|
if (ui_mouse_on_gadget(tmp) && B1_JUST_PRESSED )
|
|
|
|
{
|
|
|
|
selected_gadget = tmp;
|
|
|
|
if (tmp->parent!=NULL)
|
|
|
|
{
|
|
|
|
while (tmp->parent != NULL )
|
|
|
|
tmp = tmp->parent;
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->keyboard_focus_gadget = tmp;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->keyboard_focus_gadget = tmp;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( tmp->hotkey == keypress )
|
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
dlg->keyboard_focus_gadget = tmp;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
tmp = tmp->next;
|
2011-01-17 14:41:05 +00:00
|
|
|
} while( tmp != dlg->gadget );
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
if (dlg->keyboard_focus_gadget != NULL)
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
|
|
|
switch (keypress )
|
|
|
|
{
|
|
|
|
case (KEY_TAB):
|
2011-01-17 14:41:05 +00:00
|
|
|
if ( dlg->keyboard_focus_gadget->when_tab != NULL )
|
|
|
|
dlg->keyboard_focus_gadget = dlg->keyboard_focus_gadget->when_tab;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
case (KEY_TAB+KEY_SHIFTED):
|
2011-01-17 14:41:05 +00:00
|
|
|
if ( dlg->keyboard_focus_gadget->when_btab != NULL )
|
|
|
|
dlg->keyboard_focus_gadget = dlg->keyboard_focus_gadget->when_btab;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
case (KEY_UP):
|
2011-01-17 14:41:05 +00:00
|
|
|
if ( dlg->keyboard_focus_gadget->when_up != NULL )
|
|
|
|
dlg->keyboard_focus_gadget = dlg->keyboard_focus_gadget->when_up;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
case (KEY_DOWN):
|
2011-01-17 14:41:05 +00:00
|
|
|
if ( dlg->keyboard_focus_gadget->when_down != NULL )
|
|
|
|
dlg->keyboard_focus_gadget = dlg->keyboard_focus_gadget->when_down;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
case (KEY_LEFT):
|
2011-01-17 14:41:05 +00:00
|
|
|
if ( dlg->keyboard_focus_gadget->when_left != NULL )
|
|
|
|
dlg->keyboard_focus_gadget = dlg->keyboard_focus_gadget->when_left;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
case (KEY_RIGHT):
|
2011-01-17 14:41:05 +00:00
|
|
|
if ( dlg->keyboard_focus_gadget->when_right != NULL )
|
|
|
|
dlg->keyboard_focus_gadget = dlg->keyboard_focus_gadget->when_right;
|
2006-03-20 16:43:15 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
if (dlg->keyboard_focus_gadget != tmp1)
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
2011-01-17 14:41:05 +00:00
|
|
|
if (dlg->keyboard_focus_gadget != NULL )
|
|
|
|
dlg->keyboard_focus_gadget->status = 1;
|
2006-03-20 16:43:15 +00:00
|
|
|
if (tmp1 != NULL )
|
|
|
|
tmp1->status = 1;
|
2011-10-23 09:07:18 +00:00
|
|
|
rval = 1;
|
2011-11-05 09:07:25 +00:00
|
|
|
|
|
|
|
if (keypress)
|
|
|
|
return rval;
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
tmp = dlg->gadget;
|
2012-03-12 02:31:48 +00:00
|
|
|
wind = ui_dialog_get_window(dlg);
|
2006-03-20 16:43:15 +00:00
|
|
|
do
|
|
|
|
{
|
2011-12-18 12:33:51 +00:00
|
|
|
// If it is under another dialog, that dialog's handler would have returned 1 for mouse events.
|
|
|
|
// Key events are handled in a priority depending on the window ordering.
|
2012-03-03 12:12:25 +00:00
|
|
|
//if (!is_under_another_window( dlg, tmp ))
|
|
|
|
rval = ui_gadget_do(dlg, tmp, event);
|
2012-03-12 02:31:48 +00:00
|
|
|
|
|
|
|
if (!window_exists(wind))
|
|
|
|
break;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
tmp = tmp->next;
|
2012-03-03 12:12:25 +00:00
|
|
|
} while(/*!rval &&*/ tmp != dlg->gadget); // have to look for pesky scrollbars in case an arrow button or arrow key are held down
|
2011-10-23 09:07:18 +00:00
|
|
|
|
|
|
|
return rval;
|
2006-03-20 16:43:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UI_GADGET * ui_gadget_get_next( UI_GADGET * gadget )
|
|
|
|
{
|
|
|
|
UI_GADGET * tmp;
|
|
|
|
|
|
|
|
tmp = gadget->next;
|
|
|
|
|
|
|
|
while( tmp != gadget && (tmp->parent!=NULL) )
|
|
|
|
tmp = tmp->next;
|
|
|
|
|
|
|
|
return tmp;
|
|
|
|
}
|
|
|
|
|
|
|
|
UI_GADGET * ui_gadget_get_prev( UI_GADGET * gadget )
|
|
|
|
{
|
|
|
|
UI_GADGET * tmp;
|
|
|
|
|
|
|
|
tmp = gadget->prev;
|
|
|
|
|
|
|
|
while( tmp != gadget && (tmp->parent!=NULL) )
|
|
|
|
tmp = tmp->prev;
|
|
|
|
|
|
|
|
return tmp;
|
|
|
|
}
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
void ui_gadget_calc_keys( UI_DIALOG * dlg)
|
2006-03-20 16:43:15 +00:00
|
|
|
{
|
|
|
|
UI_GADGET * tmp;
|
|
|
|
|
2011-01-17 14:41:05 +00:00
|
|
|
tmp = dlg->gadget;
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
if (tmp==NULL) return;
|
|
|
|
|
|
|
|
do
|
|
|
|
{
|
|
|
|
tmp->when_tab = ui_gadget_get_next(tmp);
|
|
|
|
tmp->when_btab = ui_gadget_get_prev(tmp);
|
|
|
|
|
|
|
|
tmp = tmp->next;
|
2011-01-17 14:41:05 +00:00
|
|
|
} while( tmp != dlg->gadget );
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
}
|