static/manual-en.txt in green_shoes-1.0.303 vs static/manual-en.txt in green_shoes-1.0.309

- old
+ new

@@ -345,11 +345,11 @@ The important thing here is that fixed heights actually force slots to behave differently. To be sure that the end of the slot is chopped off perfectly, the slot becomes a '''nested window'''. A new layer is created by the operating system to keep the slot in a fixed square. -On difference between normal slots and nested window slots is that the latter +One difference between normal slots and nested window slots is that the latter can have scrollbars. {{{ Shoes.app do stack width: 200, height: 200, scroll: true do @@ -363,11 +363,11 @@ These nested windows require more memory. They tax the application a bit more. So if you're experiencing some slowness with hundreds of fixed-height slots, try a different approach. -'''Note''': Fixed height magic (the slot becomes a nested window) is not implemented +'''Note:''' Fixed height magic (the slot becomes a nested window) is not implemented in Green Shoes so far. Scrollbar will appear automatically but at main window only. {{{ Shoes.app do stack :width => 200 do @@ -439,11 +439,11 @@ The point is: it's easy to group shapes together into image or shape blocks, so give it a try if you're looking to gain some speed. Shape blocks particularly will save you some memory and speed. -'''NOTE''': Green Shoes doesn't support this magic (grouping shapes together +''Note:'' Green Shoes doesn't support this magic (grouping shapes together into image or shape blocks) so far. ==== UTF-8 Everywhere ==== Ruby itself isn't Unicode aware. And UTF-8 is a type of Unicode. (See @@ -1021,11 +1021,11 @@ }}} As you can see from the above example, Green Shoes includes the Hpricot library for parsing HTML. -'''Note''': Windows platform only so far. +'''Note:''' Windows platform only so far. === location() » a string === Gets a string containing the URL of the current app. @@ -2317,14 +2317,12 @@ Creates a Title text block. Green Shoes styles these elements to 34 pixels high. === video(path or url) » Shoes::Video === -Embeds a movie in this slot. +Play some audio files. -'''Note:''' Green Shoes doesn't support `video` method. - === window(styles) { ... } » Shoes::App === Opens a new app window. This method is almost identical to the [[App.Shoes.app]] method used to start an app in the first place. The difference is that the `window` method sets the new window's [[App.owner]] @@ -2803,12 +2801,10 @@ For specific commands, see the other links to the left in the Elements section. Like if you want to pause or play a video file, check the [[Video]] section, since pausing and playing is peculiar to videos. No sense pausing a button. -'''Note:''' Green Shoes doesn't support `video` method. - === displace(left: a number, top: a number) » self === Displacing an element moves it. But without changing the layout around it. This is great for subtle animations, especially if you want to reserve a place for an element while it is still animating. Like maybe a quick button shake or @@ -3777,41 +3773,38 @@ Pauses the animate or every loop. If the animate or every loop is stopped, it is started. Otherwise, if it is already running, it is stopped. == Video == -Shoes supports embedding of QuickTime, Flash video (FLV), DivX, Xvid and -various other popular video formats. This is all thanks to VideoLAN and ffmpeg, -two sensational open source libraries. Use the `video` method on a slot to -setup a Shoes::Video object. +Green Shoes is trying to support embedding of MP4 video format with Ruby/GStreamer. +But for now, not available any video formats. Just available some audio formats, +such as MP3 and Ogg Vorbis. -'''Note:''' Green Shoes doesn't support any video formats. !{:margin_left => 100}man-ele-video.png! +'''Note:''' Green Shoes doesn't support any video formats so far. !{:margin_left => 70}man-ele-video.png! -In addition to video formats, some audio formats are also supported, such as -MP3, WAV and Ogg Vorbis. - -Video support is optional in Shoes and some builds do not support video. For -example, video support is unavailable for PowerPC. When you download Shoes, the -build for your platform will be marked `novideo` in the filename if no video -support is available. - === hide() » self === Hides the video. If already playing, the video will continue to play. This just turns off display of the video. One possible use of this method is to collapse the video area when it is playing an audio file, such as an MP3. +'''Note:''' Green Shoes doesn't support hide method so far. + === length() » a number === The full length of the video in milliseconds. Returns nil if the video is not yet loaded. +'''Note:''' Green Shoes doesn't support length method so far. + === move(left, top) » self === Moves the video to specific coordinates, the (left, top) being the upper left hand corner of the video. +'''Note:''' Green Shoes doesn't support move method so far. + === pause() » self === Pauses the video, if it is playing. === playing?() » true of false === @@ -3828,23 +3821,31 @@ The position of the video as a decimanl number (a Float) between the beginning (0.0) and the end (1.0). For instance, a Float value of 0.5 indicates the halfway point of the video. +'''Note:''' Green Shoes doesn't support position method so far. + === position = a decimal === Sets the position of the video using a Float value. To move the video to its 25% position: `@video.position = 0.25`. +'''Note:''' Green Shoes doesn't support position= method so far. + === remove() » self === Removes the video from its slot. This will stop the video as well. +'''Note:''' Green Shoes doesn't support remove method so far. + === show() » self === Reveals the video, if it has been hidden by the `hide()` method. +'''Note:''' Green Shoes doesn't support show method so far. + === stop() » self === Stops the video, if it is playing. === time() » a number === @@ -3858,9 +3859,11 @@ === toggle() » self === Toggles the visibility of the video. If the video can be seen, then `hide` is called. Otherwise, `show` is called. + +'''Note:''' Green Shoes doesn't support tobble method so far. = AndSoForth = A place for some other information.