r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

[unknown: 10]
7-Aug-2005
[1763]
What is the latest RebGui version that can be used with Rebol/View 
< 1.3  ?
shadwolf
7-Aug-2005
[1764x2]
022
but  what enoys me is that ppl here are too pending on the will and 
effort of RT and not ready to participate actively apporting code 
to this project or others
[unknown: 10]
7-Aug-2005
[1766]
Thanks..
Ashley
7-Aug-2005
[1767]
0.2.4 actually. ;)
Graham
13-Aug-2005
[1768]
** Script Error: white has no value
** Where: context
** Near: edit: white
over: gold
menu:
** Press enter to quit...

Error message when running tour.r with the new encap.
[unknown: 10]
13-Aug-2005
[1769]
I would have liked "** Script Error: White is no color" more ;-)
Graham
13-Aug-2005
[1770x4]
Occurring here ...

	colors: make object! [
		window:		236.233.216		; used by display.r
		widget:		244.243.238
;		widget:		248.248.248
		edge:		127.157.185
		edit:		white			; area, field, password, etc
		over:		gold			; active button, tab, splitter, etc
		menu:		49.106.197		; menu, popup highlight
		btn-up:		200.214.251
		btn-down:	216.232.255
		btn-text:	77.97.133
	]
which is odd because 

#include %gfx-colors.r

occurs before this
Ooops, change 'do %rebgui.r to #include %rebgui.r, and comment out 
#include %gfx-funcs.r
next error .. got the splash screen now, and then this

** Script Error: Cannot use path on word! value
** Where: init
** Near: effect/4: size - image/size
** Press enter to quit...
Ashley
15-Aug-2005
[1774]
This is fixed by adding a reduce to the button data (rebgui-widgets.r), 
as in

		data:	reduce [
			#[image! 7x14 64#{
				...
Graham
15-Aug-2005
[1775]
working .. had to also include mezz-xml.r
Ashley
15-Aug-2005
[1776]
Latest build available at: http://www.dobeash.com/files/RebGUI-033.zip


*** Unzip this file into your existing RebGUI 0.3.0 distribution. 
Requires View 1.3.1 ***


Minor synchronization release to align with latest REBOL/View 1.3.1 
builds and documentation. I've also removed all SVG related code 
until such time as AGG fixes allow SVG Renderer project to complete.
Graham
15-Aug-2005
[1777x3]
** Script Error: focus expected face argument of type: object
** Where: switch
** Near: focus f
if f/type =
** Press enter to quit...
Place the text cursor in the edit-list widget, and then press tab.
This is for tour.r
Graham
21-Aug-2005
[1780]
If there are multiple fields, and one enters text in one field that 
is larger than the visible field, and then tabs to another field, 
the text in all the other fields shifts left (as though there is 
some global text pointer).
Gabriele
21-Aug-2005
[1781]
shared para object.
Pekr
21-Aug-2005
[1782x2]
shared para object
 is practical nonsense ;-)
Rebol uses inverse logic just to save resources ...
Volker
21-Aug-2005
[1784]
inverse logic

 triggered a thought: what about a 'share-keyword and clone by default? 
 for performance [  text share[para] ]
Anton
21-Aug-2005
[1785]
If para was converted to a block, then make would copy it for us 
automatically.
Volker
21-Aug-2005
[1786]
The trick of para is to share, to save space. else we could just 
do it in 'layout.
Anton
21-Aug-2005
[1787]
Actually, yes, the default face has a para object, even though a 
lot of styles don't necessarily use para features (or even text at 
all), so sharing is worthy.
Graham
21-Aug-2005
[1788]
Well, I consider it a bug if you alter the text in one field, and 
experience unwanted side effects in other fields.

So, when you create a text field, it needs it's own paragraph object.
Ashley
21-Aug-2005
[1789]
I agree that this is an undesired feature, I also agree that sharing 
the para object is generally a good idea. One way around this would 
be to change the focus function such that the shared para object 
is "reset" upon change of focus.
Graham
21-Aug-2005
[1790]
Seems a reasonable thing to do.
Graham
22-Aug-2005
[1791]
display "" [ button "Print" ]


shows a button with text "Imprimer" , and one with "Save" shows "Enregistrer" 
...
Ashley
22-Aug-2005
[1792x2]
Isn't localization wonderful? ;)  [just edit / delete %locale.dat 
to "fix"]
Latest build available at: http://www.dobeash.com/files/RebGUI-034.zip


*** Unzip this file into your existing RebGUI 0.3.0 distribution. 
Requires View 1.3.1 ***

Highlights include:

	- request-dir requestor updated
	- alert and question requestors added

 - Tab focus expanded to include edit-list handling (see %focus-demo.r 
 for details)
	- Button image now resizes correctly

 - text-list widget totally rewritten to use [newly documented] View 
 1.3.1 iterated faces
	- text-list now supports Ctrl+click, Shift+click, Ctrl+A

 - text-list scrollbar now reacts to current display state (eg. disappears 
 if not required, alters dragger ratio as rows are added, etc) 
	- check and radio widget aesthetics improved

 - added options support to layout function and text-list and check 
 widgets

 - changed base-size from 4x5pixels to 5x4 pixels (better granularity)
	- reworked all widget sizes to account for above
	- fixed scaling problems with many widgets
	- updated focus-demo.r

 - greatly enhanced and expanded %tour.r to demonstrate more variations 
 and usage cases
	- added "live" unit-size and font-size drop-lists to %tour.r
	- numerous other minor bug fixes and coding improvements

In the works


 - table widget being rewritten along the same lines as the new improved 
 text-list widget
	- aiming for a 0.4.0 beta release prior to DevCon2005
BrianW
22-Aug-2005
[1794]
Great work, Ashley!
Rebolek
22-Aug-2005
[1795]
I like it, nice work.
Graham
22-Aug-2005
[1796x4]
The shared para object problem still exists, and I notice it now 
screws up the text in the tab panels - so that they disappear.
Unlike 1.3 VID alerts, you can't use the space bar to close the alert.
** Script Error: Cannot use path on none! value
** Where: edit-text

** Near: if all [tmp/x < 0 tmp2/x < 0] [face/para/scroll/x: tmp2/x 
- tmp/x]
tmp3:
** Press enter to quit...

on tabbing out of an edit box.
With the text in an edit list highlited, click on the drop down arrow, 
click on a new item, then tab .. and the above occurs.
Ashley
22-Aug-2005
[1800]
Thanks, these will be fixed in the next build. I'm assuming that 
all other issues are resolved as of this build, so if anyone has 
others (even if previously raised) that have not been addressed then 
now is the time to raise (or re-raise) them. Please exclude issues 
relating to the following unfinished widgets:

	- table
	- grid
	- svg-toolbar
	- icon (SVG-based)
	- auto-fill
	- spinner
	- menu
Graham
22-Aug-2005
[1801x2]
How about swapping the parameters for splash so that face is first? 
 That makes it consistent with all the other functions.
Also, how about an accessor function like

show-focus: func [ face [object!]][
	rebfocus face
	show face
]
Mchean
23-Aug-2005
[1803]
with 3.4 when i run the tour.r i get: Access Error: Cannot open /C/Temp/Rebol 
View/RebGui/images/logo.png
** Near: image: load %images/logo.png
size: image/size
Graham
23-Aug-2005
[1804x2]
did you download the whole archive first?
The recent downloads just contain updates and not the images.
Luisc
23-Aug-2005
[1806]
It would be nice if  those images are included on every release as 
newbies don't have them.
Graham
23-Aug-2005
[1807]
Still a beta release .. not a general release.
Luisc
23-Aug-2005
[1808]
Mchean all you have to do is put a comment  ";" at the line and it 
should work =)
Graham
23-Aug-2005
[1809]
Other images referred to won't be found either though.
Luisc
23-Aug-2005
[1810x3]
unfortunatelly you will have to do that on every release until you 
download those images
yes i think there are 3 images that need to be " ; "
but i think if you download the first beta release it has those images