Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added '\\' in front of '_' for github spec change or bug.

  • Loading branch information...
commit 720369f13a42fc5d8190ccddecde0ff0510ba120 1 parent 8ef613d
@ashbb authored
View
3  README.mdown
@@ -2,7 +2,7 @@ Shoes Tutorial Note
===================
**- For the Shoes App Rookie Creators -**
-Nov. 29th, 2008 by ashbb (Satoshi Asakawa)
+Dec. 1st, 2008 by ashbb (Satoshi Asakawa)
Table of contents
-----------------
@@ -68,6 +68,7 @@ Table of contents
Change log:
-----------
+Dec 01st, 2008: Added '\\' in front of '\_' for githb spec change or bug. <br>
Nov 29th, 2008: Modified file name '\_' to '-' for github spec change or bug. Added assignment 3. <br>
Nov 24th, 2008: Added a new tool, patch.rb, which replace image-file-path-on-github. This is a temporary patch. Because I'm not sure about a github spec change or a bug.<br>
Nov 23th, 2008: Improved mkmdown.rb to add sample program names in the table of contents. Added a new tool, mkpdf.rb. <br>
View
2  mdowns/00100_Introduction.mdown
@@ -1,7 +1,7 @@
Introduction
------------
-Shoes is a cross-platform tiny graphics and windowing toolkit for the Ruby programming language written by [_why](http://en.wikipedia.org/wiki/Why_the_lucky_stiff).
+Shoes is a cross-platform tiny graphics and windowing toolkit for the Ruby programming language written by [\_why](http://en.wikipedia.org/wiki/Why_the_lucky_stiff).
All sample programs and data files in this tutorial can be downloaded from [here](http://github.com/ashbb/shoes_tutorial/tree/master).
View
4 mdowns/00300_First_step.mdown
@@ -33,9 +33,9 @@ A Tip: Quick Launcher
---------------------
The windows link in a "Tool Bar".
-**shoes_launcher.jpg**
+**shoes\_launcher.jpg**
-![shoes_launcher.jpg](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_launcher.jpg) <!-- patch -->
+![shoes\_launcher.jpg](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_launcher.jpg) <!-- patch -->
*This tip is provided by Victor Goff -- Saturday, 15 November 2008, POIRPWSC101-1I*
View
2  mdowns/00406_No.6_edit__line.mdown
@@ -20,7 +20,7 @@ Edit lines are a slender, little box for entering one line of text.
![sample7.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample7.png) <!-- patch -->
-We can use :secret in the edit_line area.
+We can use :secret in the edit\_line area.
# sample7-1.rb
Shoes.app :width => 235, :height => 80 do
View
4 mdowns/00501_Open_Shoes_built-in_manual_and_Shoes_console_window.mdown
@@ -18,7 +18,7 @@ Or select from the menu. See here. <br>
To open the Shoes console window, <br>
type Alt + / on any Shoes app window. <br>
-**shoes_console.png**
+**shoes\_console.png**
-![shoes_console.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_console.png) <!-- patch -->
+![shoes\_console.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_console.png) <!-- patch -->
View
6 mdowns/00505_Built-in_Constants_and_methods.mdown
@@ -2,13 +2,13 @@ Built-in Constants and methods
------------------------------
Built-in Constants: <br>
-Shoes::RELEASE_NAME <br>
-Shoes::RELEASE_ID <br>
+Shoes::RELEASE\_NAME <br>
+Shoes::RELEASE\_ID <br>
Shoes::REVISION <br>
Shoes::FONTS <br>
Built-in methods: <br>
These methods can be used anywhere throughout Shoes programs: <br>
- alert, ask, ask_color, ask\_open\_file, ask\_save\_file, ask\_open\_folder, ask\_save\_folder, confirm, debug, error, exit, font, gradient, gray, info, rgb, warn <br>
+ alert, ask, ask\_color, ask\_open\_file, ask\_save\_file, ask\_open\_folder, ask\_save\_folder, confirm, debug, error, exit, font, gradient, gray, info, rgb, warn <br>
Read the Built-in manual -> Shoes -> Built-in section. <br>
View
7 mdowns/00506_Scope__A_tip_of_using_the_YAML_file.mdown
@@ -17,12 +17,15 @@ Scope: A tip about using YAML files
The top-level namespace in any Shoes app is Shoes <br>
so in sample19.rb <br>
- Gang = Struct.new :name, :country <br>
+ Gang = Struct.new :name, :country <br>
It really make a Shoes::Gang struct, not a Gang struct, <br>
so change that line to this and it (sample19-1.rb) works well. <br>
- ::Gang = Struct.new :name, :country <br>
+ ::Gang = Struct.new :name, :country <br>
+
+Modified code is
+
# sample19-1.rb
require 'yaml'
View
4 mdowns/00507_keypress,_mouse_and_clipboard.mdown
@@ -36,11 +36,11 @@ yar <br>
shaha <br>
Copy the above list into the system clipboard. <br>
-Click Yar and she will rotate (*1). <br>
+Click Yar and she will rotate (\*1). <br>
Then paste the clipboard text into the place you want. <br>
-*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057. <br>
+\*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057. <br>
Oops, Shoes-0.r1091 behaves as same as Shoes-0.r970. Maybe it's a bug again...
after: <br>
View
2  mdowns/00516_Classes_List_and_Colors_List.mdown
@@ -21,6 +21,6 @@ We can also see them with the following sample code. <br>
![sample30.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample30.png) <!-- patch -->
-_why is thinking about some more method related colors. <br>
+\_why is thinking about some more method related colors. <br>
e.g. invert, dark?, light?, black?, white?, opaque?, transparent? <br>
We might be able to get them in the near future. <br>
View
4 mdowns/00520_widget_with_block.mdown
@@ -30,9 +30,9 @@ You can use the widget object with a block to respond to keypress or mouse event
![sample36.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample36.png) <!-- patch -->
-Click Yar and she will rotate (*1).
+Click Yar and she will rotate (\*1).
-*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057. <br>
+\*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057. <br>
Oops, Shoes-0.r1091 behaves as same as Shoes-0.r970. Maybe it's a bug again...
View
2  mdowns/00521_text_message_slide-in.mdown
@@ -1,7 +1,7 @@
text message slide-in
---------------------
-_why gave us his one thousandth commit of Shoes on 24th Sep. Here is a new sample - simple-slide.rb: showing slide-in slide-out animation.
+\_why gave us his one thousandth commit of Shoes on 24th Sep. Here is a new sample - simple-slide.rb: showing slide-in slide-out animation.
**simple-slide.png**
View
2  mdowns/00601_External_Fonts.mdown
@@ -6,7 +6,7 @@ Picked up some topics here which were discussed in the Shoes ML nowadays.
External Fonts
--------------
-_why added support to Shoes for loading .ttf and .otf files (and others, depending on your platform.) <br>
+\_why added support to Shoes for loading .ttf and .otf files (and others, depending on your platform.) <br>
Can't wait next build. <br>
View
2  mdowns/00602_Locking_edit__box.mdown
@@ -1,7 +1,7 @@
Locking edit\_box
-----------------
-If Shoes makes the edit_box read-only, we can select (copy) text data from it. <br>
+If Shoes makes the edit\_box read-only, we can select (copy) text data from it. <br>
Locking edit boxes <br>
<http://www.mail-archive.com/shoes@code.whytheluckystiff.net/msg02120.html>
View
2  mdowns/00604_Trying_to_ease_the_RubyGems_pain.mdown
@@ -1,7 +1,7 @@
Trying to ease the RubyGems pain
--------------------------------
-_why announced that he is trying to ease the RubyGems pain.
+\_why announced that he is trying to ease the RubyGems pain.
Some issues are:
View
4 mdowns/01100_Trivia.mdown
@@ -1,7 +1,7 @@
Trivia
------
-list_box needs to set :height explicitly
+list\_box needs to set :height explicitly
----------------------------------------
# sample91.rb
@@ -16,7 +16,7 @@ list_box needs to set :height explicitly
![sample91.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample91.png) <!-- patch -->
Try to comment out :height => 30 and run. <br>
-The list_box doesn't show the items. <br>
+The list\_box doesn't show the items. <br>
This strange behavior occurs only on Windows. On Mac OS X, it doesn't. <br>
This OS X information was provided by George Thompson. <br>
View
3  tools/table_of_contents.txt
@@ -2,7 +2,7 @@ Shoes Tutorial Note
===================
**- For the Shoes App Rookie Creators -**
-Nov. 29th, 2008 by ashbb (Satoshi Asakawa)
+Dec. 1st, 2008 by ashbb (Satoshi Asakawa)
Table of contents
-----------------
@@ -68,6 +68,7 @@ Table of contents
Change log:
-----------
+Dec 01st, 2008: Added '\\' in front of '\_' for githb spec change or bug. <br>
Nov 29th, 2008: Modified file name '\_' to '-' for github spec change or bug. Added assignment 3. <br>
Nov 24th, 2008: Added a new tool, patch.rb, which replace image-file-path-on-github. This is a temporary patch. Because I'm not sure about a github spec change or a bug.<br>
Nov 23th, 2008: Improved mkmdown.rb to add sample program names in the table of contents. Added a new tool, mkpdf.rb. <br>
Please sign in to comment.
Something went wrong with that request. Please try again.