Class: XCB::VISUALTYPE
- Inherits:
-
Object
- Object
- XCB::VISUALTYPE
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
- #bits_per_rgb_value ⇒ Object
- #blue_mask ⇒ Object
- #class ⇒ Object
- #colormap_entries ⇒ Object
- #green_mask ⇒ Object
- #red_mask ⇒ Object
- #visual_id ⇒ Object
Instance Method Details
#bits_per_rgb_value ⇒ Object
172 173 174 175 176 177 178 |
# File 'ext/xproto.c', line 172 static VALUE r_XCB_VISUALTYPE_get_bits_per_rgb_value(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->bits_per_rgb_value); } |
#blue_mask ⇒ Object
200 201 202 203 204 205 206 |
# File 'ext/xproto.c', line 200 static VALUE r_XCB_VISUALTYPE_get_blue_mask(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->blue_mask); } |
#class ⇒ Object
165 166 167 168 169 170 171 |
# File 'ext/xproto.c', line 165 static VALUE r_XCB_VISUALTYPE_get_class(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->_class); } |
#colormap_entries ⇒ Object
179 180 181 182 183 184 185 |
# File 'ext/xproto.c', line 179 static VALUE r_XCB_VISUALTYPE_get_colormap_entries(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->colormap_entries); } |
#green_mask ⇒ Object
193 194 195 196 197 198 199 |
# File 'ext/xproto.c', line 193 static VALUE r_XCB_VISUALTYPE_get_green_mask(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->green_mask); } |
#red_mask ⇒ Object
186 187 188 189 190 191 192 |
# File 'ext/xproto.c', line 186 static VALUE r_XCB_VISUALTYPE_get_red_mask(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->red_mask); } |
#visual_id ⇒ Object
158 159 160 161 162 163 164 |
# File 'ext/xproto.c', line 158 static VALUE r_XCB_VISUALTYPE_get_visual_id(VALUE r_self) { xcb_visualtype_t *visualtype; Data_Get_Struct(r_self, xcb_visualtype_t, visualtype); return INT2FIX(visualtype->visual_id); } |