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

World: r3wp

[!RebGUI] A lightweight alternative to VID

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
[346x6]
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 ;)
the ask is do we need to specify in hard coded way the resize of 
every image ...
or do we let user size it's image be it self ?
img: to image! make face [edge: none image: img size: 22x22]
hum hum  I saying craps ... the image is hard coded sized but maybe 
to big ...
Ashley
29-Mar-2005
[352]
Previous images were 18x18, while I'm using "standard" 22x22 ones. 
Everything else needs to be resized accordingly, but it's going to 
be hard-coded so a lot of the dynamic sizing code can go. Less is 
more. ;)
shadwolf
29-Mar-2005
[353x7]
:)
hey ashkey good to see you online at the same time than me
;;)
I was looking too it ... to see if we could only deplace to left 
the text  un menu popup
graham's menu problem patch
insert tail sub/pane make item-f [;menu item
						type: 'item
						text: itm
						offset: oft
						root: sub

      font-colors: either dis? [[172.168.153 172.168.153]] [font-colors]
						font: make font [align: 'left color: font-colors/2]

      para: make para [wrap?: false origin:  22x1 + (lineh * 1x0)]
						size: 0x2 + get-tsize/fnt itm font
starting line 132 just copy the para: value of item-f
Graham
29-Mar-2005
[360]
The icons look about 20% bigger than the ones used in Trillian .. 
which I just downloaded.
shadwolf
29-Mar-2005
[361]
hum