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

World: r3wp

[View] discuss view related issues

Sunanda
12-Jun-2005
[1251x2]
Officially released 10-jun according to the download page:
http://www.rebol.com/view-platforms.html
[oops we typed at the same moment]
Graham
12-Jun-2005
[1253x3]
I guess it might be worthwhile waiting for LNS to do a library interface.
Kill two birds with one stone as it were.
Now, where is Viewcmd 1.3 ?
Pekr
12-Jun-2005
[1256x4]
rebol 1.3.0.3.1 final - upgrade command, and the result? "You are 
running an unknown version of REBOL." :-)
what do you mean by "library interface" Gregg?
Can someone try 'call and 'sound interface? At least 'call seems 
to work, while when you start Desktop, those components are listed 
as "(View/Pro). If those are unlocked, then Desktop text should be 
enabled ...
enabled=corrected
Graham
12-Jun-2005
[1260]
well, my gomoku script which uses sound dies under 1.3 :(
Pekr
12-Jun-2005
[1261]
that is bad, and probably mistake by RT, not intention - they claimed 
sound will be free for 1.3. 'call seems to work here, but I have 
license key, so I wonder if I don't run /Pro.
Graham
12-Jun-2005
[1262x2]
I have /pro license .. just saying that my script dies
because of other problems with new View 1.3
Pekr
12-Jun-2005
[1264]
hmm, anyway - why console does not report anymore you are using license? 
That way I can't be sure if I run /Pro or not ...
Graham
12-Jun-2005
[1265]
sound works for me
Henrik
12-Jun-2005
[1266]
Is there a "proper" way to set font properties for a single element, 
such as 'text after the layout is created?

I'm trying:
view layout [a: text "12345" b: text "12345"]


and set the font size for a: a/font/size: 14 (b is 12 at this point)

then I unview it and:
view layout [a: text "12345" b: text "12345"]
once more. Now b has font size 14 as well.

They seem to share the same font object....
Ashley
12-Jun-2005
[1267]
Does %user.r work with View 1.3. I add the following line to %/c/rebol/view/user.r

	print "User.r called"


then double-click the %rebol.exe file in the same directory ... but 
no message.
ChristianE
12-Jun-2005
[1268]
Henrik, in these cases you need a local font object.
Henrik
12-Jun-2005
[1269]
and set the font size for a: a/font/size: 14 (b is 12 at this point)

 <--- I don't set a to a/font/size there although it looks that way, 
 sorry.

should be "and set the font size for the variable a to: a/font/size: 
14"
Ammon
12-Jun-2005
[1270]
I'm not sure just how that changed, Ashley, but I did hear some talk 
somewhere here about execution of user.r being removed because its 
a security issue...
ChristianE
12-Jun-2005
[1271]
A and B share the same, so what you need to do is
Ashley
12-Jun-2005
[1272]
view layout [a: text "12345" font-size 14 b: text "12345"]  ?
ChristianE
12-Jun-2005
[1273]
a/font: make a/font [size: 12]
Henrik
12-Jun-2005
[1274x3]
ashley: I can't determine font size at layout time
christianE: interesting, I'll try it. thanks
christianE: it seems to work, thanks :-) now to integrate it into 
my program...
ChristianE
12-Jun-2005
[1277x3]
You're welcome.
Ah, should have mentioned that it's not necessary to do that *everytime* 
you change the fontsize. It's necessary only for the first time you 
alter it.
After that, you simply can A/FONT/SIZE: 13
Henrik
12-Jun-2005
[1280x2]
I didn't think it was either :-)
yes, works in my program too! solves an age old problem for me :-)
ChristianE
12-Jun-2005
[1282]
Shadwolf, yes, you're right. Today VID is a bit loosing the focus 
in favour of REBOL/View 1.3.0 and probably RebGUI, but I'm sure there 
will be efforts again.
shadwolf
12-Jun-2005
[1283]
RebGUI  have it's own phylosophy first make tiny useful widget set 
that take the lead over VID ...
Pekr
12-Jun-2005
[1284]
someone tried to port Cyphre's menu to RebGUI?
ChristianE
12-Jun-2005
[1285x2]
Yes, it's a whole new approach.
Shadwolf is doing so.
shadwolf
12-Jun-2005
[1287]
but my ask in the reflexion process is why to consum less code less 
memory less CPU  and be sharpen if we are only at the level of what 
we can see with winAPI ....
Pekr
12-Jun-2005
[1288]
ChristianE's looks more polished, but - way too large, especially 
for Carl to include it in official distro - 75KB ...
ChristianE
12-Jun-2005
[1289]
No, it's really no 75 KB pure code, far less.
shadwolf
12-Jun-2005
[1290x3]
We must IMOO  have a widget set that is similar than what are  people 
habbits and be smoother and able to be distinguish directly
I think Rebgui could be an OS independent link to user Interaction
we abstract from OS capabilities and set of widget and we introduce 
a commun set
ChristianE
12-Jun-2005
[1293]
That's right, shadwolf. My approach was more of the kind of simulating 
existing OSes, I had a need for that.
shadwolf
12-Jun-2005
[1294]
this is in my opinion the same intent as GTK+, WxWindow, TK, QT and 
other in this mood libraries ;)
Pekr
12-Jun-2005
[1295]
As I said - we need tree-view, grid (or little better list), tabs, 
group-box, and maybe even menu. Those missing styles will make it 
difficult to newbies to start using View as full-fledged dev-tool 
replacement ....
ChristianE
12-Jun-2005
[1296]
That was my starting point. These bunch of missing styles, no resizing, 
...
Henrik
12-Jun-2005
[1297]
I am developing a better listview myself... hopefully it'll be generally 
useful in a few weeks
Pekr
12-Jun-2005
[1298]
As I said - I can definitely tolerate different look. It is imo even 
vital to be slightly different. Today that is once again a trend 
- just look at Ad-aware for e.g. But - ppl will not tollerate that 
well, if app behaves differently, commone keys don't work etc. - 
that is my experience ...
shadwolf
12-Jun-2005
[1299]
Chris your code can be bettered more people will work on it more 
sharp it will be and if we have as goal to include it into a state 
of art basement library like rebGUI I think this will be very enthousiastic 
for people who will participate ;)
ChristianE
12-Jun-2005
[1300]
@shadwolf:  : D