Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[ALLY] Notice: Prepare for VID B5 Changes

From: carl:rebol at: 18-Aug-2000 13:54

Dear REBOL/View/VID Users: A change to VID for REBOL/View Beta 5.0 will break some of your VID scripts. The change is in the stylize function. Rather than using a unique dialect for style specification, stylize will take style names and facets in the same format as a layout. This will make it easier to remember how to create styles, since they will be done in the same way as layouts. For example: sheet: stylize [ btxt: text bold rtxt: text bold right red gbar: box effect [gradient 200.0.0 0.0.0] btn32: button 100x40 font [size: 32] btn2: button with [feel: new-feel] ] This will create the btxt, rtxt, gbar, and btn32 styles for use in any layout. Note the general face spec in the last example using the WITH word. This is the same as a layout. An experimental version of View will be posted on Monday, giving you the chance to test and change your scripts before B5 is released. There are many other improvements to VID B5. The full set of predefined face styles will be: Text Styles text - text (white with shadow) label - text labels title - title text subtitle - subtitle text norm - text (black, no shadow) H1 - heading 1 H2 - heading 2 H3 - heading 3 H4 - heading 4 sample - example code field - text entry field area - text entry area Graphical Styles image - jpeg, bmp, or gif image backdrop - scale image to fit page backtile - tile image over page box - rectangular box anim - animated image icon - image with text caption sensor - image map Gadget Styles button - click for action toggle - up and down button rotary - multiple value button choice - pop-up button check - check box radio - radio button arrow - arrow button progress - progress bar slider - slider bar Panel Styles panel - subpanel layout list - text and image lists In addition there will be these requestor pop-ups: request - simple requests resuest-color - color picker request-date - calendar picker request-file - file picker Also, you will be able to specify multiple facets for a face: text "Hello" yellow blue - yellow text, blue background rotary "Breakfast" "Lunch" "Dinner" - choices And, finally, there will be a new set of welcome/install windows, including one to help with content selection. NOT ALL OF THESE CHANGES WILL BE AVAILABLE IN MONDAY's EXPERIMENTAL. [Sorry to shout, but I want to make it clear so I don't get swamped with emails.] There is an entirely new document for VID that will accompany this release. -Carl