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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Pekr
27-Mar-2005
[298]
RebGUI starts to look nice. As it is still in its beginning, I would 
like to vote for area change. That is pretty uncommon that ctrl + 
del or ctrl + backspace deletes text, unless the text is hilighted 
imo ....
Graham
27-Mar-2005
[299]
I tried adding the following to tour.r


#include %gui.r
#include %gfx-colors.r
#include %request-file.r
#include %display.r

and encapped,.. but it tried to excute %gui.r
BrianW
27-Mar-2005
[300]
I'm probably doing something wrong here, but I get an error when 
I try do %gui.r:

Script: "RebGUI system" (25-Mar-2005)
** Script Error: Word show is protected, cannot modify
** Where: context

** Near: set 'show func [face [object! block!]] [show* face recycle]
Sunanda
27-Mar-2005
[301]
Sounds like you have protect-system on (usually a good idea)
and rebgui wants to reuse a system word (usually a bad idea).

Try
unprotect 'show
to give rebgui permission to overwrite
Ashley
27-Mar-2005
[302]
Pekr: the edit feel is pretty basic at the moment (doesn't support 
highlighting or cut / paste). The Ctrl+BackSpace and Ctrl+Del are 
"delete to end" and "delete to beginning" respectively, which almost 
all editors support without the need for highlighting ... now the 
key mappings are another issue. ;)

Graham: You need to add the following to %tour.r:

	#include %gfx-colors.r
	#include %request-file.r
	#include %gui.r
	#include %widgets.r
	#include %display.r


and comment out the "do %gui.r" in %tour.r and the "do %widgets.r" 
and "do %display.r" lines in %gui.r. I'll make this less painful 
in the next release.


Brian: See Sunanda's response or just comment out the redefine of 
'show in %gui.r
Pekr
27-Mar-2005
[303x2]
Ashley - and that is the trouble - I know NO text editor, which acts 
like that - deleting something to the end simply by pressing ctrl 
+ del?
I can imagine my text deleted very easily that way ;-) .... but never 
mind ... we still have the time to change it ....
Ashley
27-Mar-2005
[305]
I used the key bindings from OpenOffice where Ctrl+BackSpace and 
Ctrl+Del are delete word left and right respectively. EmEditor uses 
Ctrl-D to delete to end of line ... don't know if there is a "standard" 
for these types of operations; but as you surmised it's pretty easy 
to change at this stage.
Ammon
27-Mar-2005
[306]
Do we want any undo support.
Graham
27-Mar-2005
[307x4]
What's wrong here ?

display "Configuration" [
		group-box [ 
			"Panel"
			data [

    text [ size 90 "Server (IP) " ] svr: field [ size 100x20 ]return
				text [ size 90 "Userid: " ] uid: field [ size 80x20 ] return

    text [ size 90 "Password: " ] pwd: field hide [ size 80x20 ] return

    text [ size 90 "Period (secs): " ] pd: field [ size 40x20 ] return

    text [ size 90  "Start Date: " ] dp: field [ size 80x20 ] return 
			]
		] 
	]
ahhhh.. doesn't like the "hide" for the field ...
No support for tab or cr to move from field to field yet?
I think I used to use Ctrl-Y to delete to end of line ( for something 
.. )
BrianW
27-Mar-2005
[311]
Thanks for the suggestion. RebGUI is really nice!
shadwolf
27-Mar-2005
[312x3]
I 'm starting an intent to port to rebGUI an improved version of 
ctx-menu from cyphre :)
Ashley for table I have Clui 4GUI installed on my os so If I arrive 
rapidly to an efficient solution with ctx-menu I will start some 
work on the table ...
but first thing the adaptation of the Ctx-menu as all your actual 
widgets in it arre trully piece of art work I intent to do the same 
way with cyphre"s ctx-menu port to REBGUI :)
Ashley
27-Mar-2005
[315]
Thanks, looking forward to it! ;)
Anton
28-Mar-2005
[316]
Oh wow, Graham, it can't be ctrl-Y. I am used to that being redo 
!! :) Let the editor key bindings begin. ... :-O
Volker
28-Mar-2005
[317]
maybe really starting "skinning" of keybindings, and users can choose 
"windows-style" etc?
Vincent
28-Mar-2005
[318]
ctrl-y does, in MEMACS: paste, in ConTEXT: delete current line, etc.

we should only keep basic ones, like copy-paste (ctrl-x,ctrl-c,ctrl-v), 
selection (ctrl-a, (ctrl)-shift-left/right), and undo/redo (ctrl-z,ctrl-Z?).

it's better that having users deleting all text with a bad keypress.
Anton
28-Mar-2005
[319]
A policy of "least harm" applies with regard to key combos of different 
editors which contradict each other in a destructive way.
shadwolf
28-Mar-2005
[320x2]
RebGUI 0.1.6 (b) version that includes cyphre's ctx-menu is done 
;) Well it was added as it and as I'm less an artist than Ashley 
I let it functionnal as it was mainly designed by cyphre. I add a 
little trick and some code to it to make it more resemblant to a 
common menu and add the possibility to draw text starting from left... 
I hope Ashley or others could take some amount of their precious 
time to see it and enhance this very first implementation to make 
it even more in the mood of RebGUI
you can grab it from here http://shadwolf.free.fr/RebGUI-016-cyphremenu.zip
[unknown: 5]
28-Mar-2005
[322]
that looks pretty sweet - like that installer example.
shadwolf
28-Mar-2005
[323]
in this archive tour.r file countain the menu-bar new widget use 
description and the widgets.r file contains the declaration code 
for menu-bar
[unknown: 5]
28-Mar-2005
[324]
I like the grouping.
shadwolf
28-Mar-2005
[325]
yes it's a very cool widget library ;)
Graham
28-Mar-2005
[326]
Ashley, can we get a password field ?
Ashley
29-Mar-2005
[327x2]
Latest release available at: http://www.dobeash.com/files/RebGUI-017.zip

Highlights include:

	- New title-group and radio-group widgets
	- no-space keyword renamed to tight
	- Added indent keyword
	- Install example moved into title-group %tour.r example

 - RebGUI is now #include aware (you can run it or encap it with zero 
 changes)
	- Display User's Guide updated to reflect previous changes
Menu and Password-Field are being integrated into 0.1.8.
shadwolf
29-Mar-2005
[329x3]
very nice work as usual I have one little impprovement that I would 
like to add to my ctx-menu adaptation to RebGUI is the size calculation 
instead of passing to it staticly it would be better to calculate 
in relation with the parent-face and be able to use the resize on 
it
have you some tips to implement this ?
the span field is enought  but I need to redraw the ctx-menu when 
a resize is done
Ashley
29-Mar-2005
[332]
The menu widget is over 500 lines and a bit of a global name-space 
polluter. My first-cut clean of it is here: http://www.dobeash.com/files/menu.r


You'll notice that "lefted" items and shadow-drop images have already 
been cut ... but a lot more has to come out.
Gregg
29-Mar-2005
[333]
Really impressive progress! My hat's off to Ashley and the RebGUI 
team.
shadwolf
29-Mar-2005
[334]
Ashley I notice it it was done pretty quickly as a try Like a can 
I do this algorithma ;)
Graham
29-Mar-2005
[335]
I'm missing a new_folder.png
shadwolf
29-Mar-2005
[336]
the caculation/show on lefted popup menu are pertty un goodly calculated 
into menu feels ;)
Graham
29-Mar-2005
[337]
ahh.. got the new distro.
shadwolf
29-Mar-2005
[338x3]
buuuuuu you supres my nice lefted lol ;)
hehehe no problem I think firsst we will provide it easy and then 
we could enhance it maybe cyphre wants to apport some code to it 
and enbetter it
ctx-menu was in a early stage  :)
Graham
29-Mar-2005
[341]
is the first character of the words supposed to overlap the images?
shadwolf
29-Mar-2005
[342x3]
no ...
with my version it's not draw like this so 2 alternatives : or Ashley 
deleted some of the compositing code (don't think so ) or the images 
are to big and to avoid this to append again we need to add a static 
image menu resampling in order to get them fit the relevent value 
;)
Graham some indulgence please menu in rebgui are very alpha stage 
vefor sunday I don"t even know  what could be the result of having 
it to rebogui and if it was workable with older non AGG capable rebol/view 
;)
Graham
29-Mar-2005
[345]
hehe .. not complaining, just asking ..
shadwolf
29-Mar-2005
[346x2]
when I see it was relatively close in code motion to rebgui I started 
to wanted hardly to port it and better it a little (the famous lefted 
option ... to quick developed to convince every one  ;)
GRaham you point to good problems any way ;)