Class: XCB::COLORITEM
- Inherits:
-
Object
- Object
- XCB::COLORITEM
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#blue ⇒ Object
802 803 804 805 806 807 808 |
# File 'ext/xproto.c', line 802
static VALUE
r_XCB_COLORITEM_get_blue(VALUE r_self)
{
xcb_coloritem_t *coloritem;
Data_Get_Struct(r_self, xcb_coloritem_t, coloritem);
return INT2FIX(coloritem->blue);
}
|
#flags ⇒ Object
809 810 811 812 813 814 815 |
# File 'ext/xproto.c', line 809
static VALUE
r_XCB_COLORITEM_get_flags(VALUE r_self)
{
xcb_coloritem_t *coloritem;
Data_Get_Struct(r_self, xcb_coloritem_t, coloritem);
return INT2FIX(coloritem->flags);
}
|
#green ⇒ Object
795 796 797 798 799 800 801 |
# File 'ext/xproto.c', line 795
static VALUE
r_XCB_COLORITEM_get_green(VALUE r_self)
{
xcb_coloritem_t *coloritem;
Data_Get_Struct(r_self, xcb_coloritem_t, coloritem);
return INT2FIX(coloritem->green);
}
|
#pixel ⇒ Object
781 782 783 784 785 786 787 |
# File 'ext/xproto.c', line 781
static VALUE
r_XCB_COLORITEM_get_pixel(VALUE r_self)
{
xcb_coloritem_t *coloritem;
Data_Get_Struct(r_self, xcb_coloritem_t, coloritem);
return INT2FIX(coloritem->pixel);
}
|
#red ⇒ Object
788 789 790 791 792 793 794 |
# File 'ext/xproto.c', line 788
static VALUE
r_XCB_COLORITEM_get_red(VALUE r_self)
{
xcb_coloritem_t *coloritem;
Data_Get_Struct(r_self, xcb_coloritem_t, coloritem);
return INT2FIX(coloritem->red);
}
|