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.

Methods

bg_color=   clear   disable_background   enable_background   enable_background=   init   pos   pos=   print   puts   text_color=   x   x=   y   y=  

Public Class methods

Sets the text background’s color.

[Source]

/*
  call-seq: bg_color=(col)

  Sets the text background's color.
*/
VALUE Debug_setBgColor(VALUE self, VALUE col) 

Clears the debugging screen.

[Source]

/*
  Clears the debugging screen.
*/
VALUE Debug_clear(VALUE self) 

Disables background.

[Source]

/*
  Disables background.
*/
VALUE Debug_disableBackground(VALUE self) 

Enables background. By default, this is already done.

[Source]

/*
  Enables background. By default, this is already done.
*/
VALUE Debug_enableBackground(VALUE self) 

Enables or disables background.

[Source]

/*
  Enables or disables background.
 */
VALUE Debug_setBackground(VALUE self, VALUE val) 

Inits the debugging screen.

[Source]

/*
  Inits the debugging screen.
*/
VALUE Debug_init(VALUE self) 

Returns the cursor’s position.

[Source]

/*
  Returns the cursor's position.
*/
VALUE Debug_pos(VALUE self) 

Sets the position of the place where text will be written, with a point.

[Source]

/*
  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.

[Source]

/*
  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.

[Source]

/*
  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.

[Source]

/*
  call-seq: text_color=(col)
  
  Sets the text's color.
*/
VALUE Debug_setTextColor(VALUE self, VALUE col) 

Returns the cursor’s abscissa.

[Source]

/*
  Returns the cursor's abscissa.
 */
VALUE Debug_x(VALUE self) 

Sets the position of the place where text will be written.

[Source]

/*
  call-seq: x=(val)

  Sets the position of the place where text will be written.
*/
VALUE Debug_setX(VALUE self, VALUE x) 

Returns the cursor’s ordinate.

[Source]

/*
  Returns the cursor's ordinate.
*/
VALUE Debug_y(VALUE self) 

Sets the position of the place where text will be written.

[Source]

/*
  call-seq: y=(val)

  Sets the position of the place where text will be written.
*/
VALUE Debug_setY(VALUE self, VALUE y) 

[Validate]