Class: XCB::RGB
- Inherits:
-
Object
- Object
- XCB::RGB
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#blue ⇒ Object
830 831 832 833 834 835 836 |
# File 'ext/xproto.c', line 830 static VALUE r_XCB_RGB_get_blue(VALUE r_self) { xcb_rgb_t *rgb; Data_Get_Struct(r_self, xcb_rgb_t, rgb); return INT2FIX(rgb->blue); } |
#green ⇒ Object
823 824 825 826 827 828 829 |
# File 'ext/xproto.c', line 823 static VALUE r_XCB_RGB_get_green(VALUE r_self) { xcb_rgb_t *rgb; Data_Get_Struct(r_self, xcb_rgb_t, rgb); return INT2FIX(rgb->green); } |
#red ⇒ Object
816 817 818 819 820 821 822 |
# File 'ext/xproto.c', line 816 static VALUE r_XCB_RGB_get_red(VALUE r_self) { xcb_rgb_t *rgb; Data_Get_Struct(r_self, xcb_rgb_t, rgb); return INT2FIX(rgb->red); } |