Skip to content

Commit

Permalink
added '\\' in front of '_' for github spec change or bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashbb committed Dec 1, 2008
1 parent 8ef613d commit 720369f
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 24 deletions.
3 changes: 2 additions & 1 deletion README.mdown
Expand Up @@ -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
-----------------
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion 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).

Expand Down
4 changes: 2 additions & 2 deletions mdowns/00300_First_step.mdown
Expand Up @@ -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*

Expand Down
2 changes: 1 addition & 1 deletion mdowns/00406_No.6_edit__line.mdown
Expand Up @@ -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
Expand Down
Expand Up @@ -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 -->

6 changes: 3 additions & 3 deletions mdowns/00505_Built-in_Constants_and_methods.mdown
Expand Up @@ -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>
7 changes: 5 additions & 2 deletions mdowns/00506_Scope__A_tip_of_using_the_YAML_file.mdown
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions mdowns/00507_keypress,_mouse_and_clipboard.mdown
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mdowns/00516_Classes_List_and_Colors_List.mdown
Expand Up @@ -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>
4 changes: 2 additions & 2 deletions mdowns/00520_widget_with_block.mdown
Expand Up @@ -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...


2 changes: 1 addition & 1 deletion 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**

Expand Down
2 changes: 1 addition & 1 deletion mdowns/00601_External_Fonts.mdown
Expand Up @@ -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>


Expand Down
2 changes: 1 addition & 1 deletion 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>
2 changes: 1 addition & 1 deletion 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:

Expand Down
4 changes: 2 additions & 2 deletions 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
Expand All @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion tools/table_of_contents.txt
Expand Up @@ -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
-----------------
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 720369f

Please sign in to comment.