Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

Logo

Logo demo

logo.png Logo demo is a sample application for Ruby/GtkGLExt, Ruby/GTK.

The original C program is distributed with GtkGLExt.

Requirements

Developed environments are:


How to play

$ruby main.rb [--count num] [--no-anim] [--help]
  • --count num: Number of the rotation count. Default value is 100.
  • --no-anim: Stop animation.
  • --help: Show usage.

Mouse operation

  • Drag the logo with Button1 of your mouse - Rotate the logo.
  • Drag the logo with Button2 of your mouse - Move the logo.
  • Click Button3 of your mouse - Show menus.

Keyboard operation

  • a - Stop/Start animation.
  • i - Initialize the logo.
  • Escape - Quit this program.

License

GPL (Notice: trackball.rb is not GPL. See trackball.rb for more details).

Author

Masao


Changelog

2004-03-09 Masao
Apply Ruby-GNOME2-0.9.0 changes.
2004-02-14 Vincent
Corrected a few bugs.
2004-01-19 Masao
Initial release.
Last modified:2011/06/11 10:13:07
Keyword(s):
References:[News_20040118_1] [Samples]