Class: XCB::TIMECOORD

Inherits:
Object
  • Object
show all
Defined in:
ext/xproto.c

Instance Method Summary collapse

Instance Method Details

#timeObject



660
661
662
663
664
665
666
# File 'ext/xproto.c', line 660

static VALUE
r_XCB_TIMECOORD_get_time(VALUE r_self)
{
	xcb_timecoord_t *timecoord;
	Data_Get_Struct(r_self, xcb_timecoord_t, timecoord);
	return INT2FIX(timecoord->time);
}

#xObject



667
668
669
670
671
672
673
# File 'ext/xproto.c', line 667

static VALUE
r_XCB_TIMECOORD_get_x(VALUE r_self)
{
	xcb_timecoord_t *timecoord;
	Data_Get_Struct(r_self, xcb_timecoord_t, timecoord);
	return INT2FIX(timecoord->x);
}

#yObject



674
675
676
677
678
679
680
# File 'ext/xproto.c', line 674

static VALUE
r_XCB_TIMECOORD_get_y(VALUE r_self)
{
	xcb_timecoord_t *timecoord;
	Data_Get_Struct(r_self, xcb_timecoord_t, timecoord);
	return INT2FIX(timecoord->y);
}