Exemplo n.º 1
0
Dynamic Mouse_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 4:
		if (HX_FIELD_EQ(inName,"hide") ) { return hide_dyn(); }
		if (HX_FIELD_EQ(inName,"show") ) { return show_dyn(); }
	}
	return super::__Field(inName,inCallProp);
}
Exemplo n.º 2
0
Dynamic Window_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 4:
		if (HX_FIELD_EQ(inName,"hide") ) { return hide_dyn(); }
		if (HX_FIELD_EQ(inName,"open") ) { return open_dyn(); }
		if (HX_FIELD_EQ(inName,"show") ) { return show_dyn(); }
		if (HX_FIELD_EQ(inName,"mode") ) { return mode; }
		break;
	case 5:
		if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); }
		if (HX_FIELD_EQ(inName,"title") ) { return title; }
		if (HX_FIELD_EQ(inName,"modal") ) { return modal; }
		break;
	case 6:
		if (HX_FIELD_EQ(inName,"layers") ) { return layers; }
		break;
	case 8:
		if (HX_FIELD_EQ(inName,"_windows") ) { return _windows; }
		if (HX_FIELD_EQ(inName,"_setMode") ) { return _setMode_dyn(); }
		if (HX_FIELD_EQ(inName,"nativeId") ) { return nativeId; }
		break;
	case 9:
		if (HX_FIELD_EQ(inName,"_setTitle") ) { return _setTitle_dyn(); }
		if (HX_FIELD_EQ(inName,"viewports") ) { return viewports; }
		break;
	case 10:
		if (HX_FIELD_EQ(inName,"fullscreen") ) { return fullscreen; }
		break;
	case 12:
		if (HX_FIELD_EQ(inName,"_setModality") ) { return _setModality_dyn(); }
		break;
	case 14:
		if (HX_FIELD_EQ(inName,"_setFullscreen") ) { return _setFullscreen_dyn(); }
		break;
	case 17:
		if (HX_FIELD_EQ(inName,"_pi_window_create") ) { return _pi_window_create; }
		break;
	case 18:
		if (HX_FIELD_EQ(inName,"_pi_window_destroy") ) { return _pi_window_destroy; }
		if (HX_FIELD_EQ(inName,"_pi_window_move_xy") ) { return _pi_window_move_xy; }
		if (HX_FIELD_EQ(inName,"_pi_window_get_pos") ) { return _pi_window_get_pos; }
		if (HX_FIELD_EQ(inName,"_pi_window_restore") ) { return _pi_window_restore; }
		break;
	case 19:
		if (HX_FIELD_EQ(inName,"_pi_window_set_mode") ) { return _pi_window_set_mode; }
		if (HX_FIELD_EQ(inName,"_pi_window_get_size") ) { return _pi_window_get_size; }
		if (HX_FIELD_EQ(inName,"_pi_window_maximize") ) { return _pi_window_maximize; }
		if (HX_FIELD_EQ(inName,"_pi_window_minimize") ) { return _pi_window_minimize; }
		break;
	case 20:
		if (HX_FIELD_EQ(inName,"_pi_window_get_title") ) { return _pi_window_get_title; }
		if (HX_FIELD_EQ(inName,"_pi_window_set_title") ) { return _pi_window_set_title; }
		if (HX_FIELD_EQ(inName,"_pi_window_move_rect") ) { return _pi_window_move_rect; }
		if (HX_FIELD_EQ(inName,"_pi_window_resize_wh") ) { return _pi_window_resize_wh; }
		break;
	case 21:
		if (HX_FIELD_EQ(inName,"_pi_window_list_modes") ) { return _pi_window_list_modes; }
		break;
	case 22:
		if (HX_FIELD_EQ(inName,"_pi_window_set_visible") ) { return _pi_window_set_visible; }
		if (HX_FIELD_EQ(inName,"_pi_window_resize_rect") ) { return _pi_window_resize_rect; }
		break;
	case 23:
		if (HX_FIELD_EQ(inName,"_pi_window_set_modality") ) { return _pi_window_set_modality; }
		break;
	case 25:
		if (HX_FIELD_EQ(inName,"_pi_window_set_fullscreen") ) { return _pi_window_set_fullscreen; }
		if (HX_FIELD_EQ(inName,"_pi_window_set_video_mode") ) { return _pi_window_set_video_mode; }
	}
	return super::__Field(inName,inCallProp);
}