| Module | Joyau::Debug |
| In: |
Drawable.cpp
|
The PSP’s debugging sceen might be useful, if you want to trace the evolution of your program as you would do it with $stdout.
Sets the text background’s color.
/* call-seq: bg_color=(col) Sets the text background's color. */ VALUE Debug_setBgColor(VALUE self, VALUE col)
Enables background. By default, this is already done.
/* Enables background. By default, this is already done. */ VALUE Debug_enableBackground(VALUE self)
Enables or disables background.
/* Enables or disables background. */ VALUE Debug_setBackground(VALUE self, VALUE val)
Sets the position of the place where text will be written, with a point.
/* call-seq: pos=(point) Sets the position of the place where text will be written, with a point. */ VALUE Debug_setPos(VALUE self, VALUE pos)
Prints some string on the debugging screen. This function behavaes like Kernel#print.
/* Prints some string on the debugging screen. This function behavaes like Kernel#print. */ VALUE Debug_print(int argc, VALUE *argv, VALUE self)
Prints some string on the debugging screen. This function behavaes like Kernel#puts.
/* call-seq: puts(obj, ...) Prints some string on the debugging screen. This function behavaes like Kernel#puts. */ VALUE Debug_puts(int argc, VALUE *argv, VALUE self)
Sets the text’s color.
/* call-seq: text_color=(col) Sets the text's color. */ VALUE Debug_setTextColor(VALUE self, VALUE col)
Sets the position of the place where text will be written.
/* call-seq: x=(val) Sets the position of the place where text will be written. */ VALUE Debug_setX(VALUE self, VALUE x)