Class: XCB::AllocColorReply
- Inherits:
-
Object
- Object
- XCB::AllocColorReply
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#blue ⇒ Object
3973 3974 3975 3976 3977 3978 3979 |
# File 'ext/xproto.c', line 3973 static VALUE r_XCB_AllocColorReply_get_blue(VALUE r_self) { xcb_alloc_color_reply_t *reply; Data_Get_Struct(r_self, xcb_alloc_color_reply_t, reply); return INT2FIX(reply->blue); } |
#green ⇒ Object
3966 3967 3968 3969 3970 3971 3972 |
# File 'ext/xproto.c', line 3966 static VALUE r_XCB_AllocColorReply_get_green(VALUE r_self) { xcb_alloc_color_reply_t *reply; Data_Get_Struct(r_self, xcb_alloc_color_reply_t, reply); return INT2FIX(reply->green); } |
#pixel ⇒ Object
3980 3981 3982 3983 3984 3985 3986 |
# File 'ext/xproto.c', line 3980 static VALUE r_XCB_AllocColorReply_get_pixel(VALUE r_self) { xcb_alloc_color_reply_t *reply; Data_Get_Struct(r_self, xcb_alloc_color_reply_t, reply); return INT2FIX(reply->pixel); } |
#red ⇒ Object
3959 3960 3961 3962 3963 3964 3965 |
# File 'ext/xproto.c', line 3959 static VALUE r_XCB_AllocColorReply_get_red(VALUE r_self) { xcb_alloc_color_reply_t *reply; Data_Get_Struct(r_self, xcb_alloc_color_reply_t, reply); return INT2FIX(reply->red); } |