Method: Newt::Screen.init
- Defined in:
- ext/ruby_newt/ruby_newt.c
.init ⇒ Object
194 195 196 197 198 199 200 201 202 203 |
# File 'ext/ruby_newt/ruby_newt.c', line 194 static VALUE rb_ext_Screen_Init() { if (initialized == Qtrue) return Qnil; newtInit(); memcpy(&newtColors, &newtDefaultColorPalette, sizeof(struct newtColors)); initialized = Qtrue; return Qnil; } |