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

World: r3wp

[View] discuss view related issues

Volker
25-Jun-2005
[1740x2]
.

vid2: Has somebody ever tried oberon/blackbox-builder? Thats the 
kind of layouting i like. They use text with "active-x-controls" 
inside (only better and simpler ;) . blackbox can do really windows-style 
guis that way. then while developing you can mark part of that gui 
and just copypaste it somewhere else. gives a lot easier control 
than typical gui-builders IMHO.
that controls can also access the sorrounding text. so they can influence 
the formatting of the following text, or fold it. Based on that they 
have even tree-views.
Geomol
26-Jun-2005
[1742]
I noticed a change in image! type offsets in view 1.3 compared to 
e.g. the rwdraw57e.exe version. In rwdraw57e offset 1x0 was in the 
corner, now it's offset 0x0. Example:

>> bitmap: make image! 100x100
>> change/dup at bitmap 1x0 red 8x8
>> view layout [image bitmap]


That piece of code would put a red square in the corner of the bitmap 
in the rwdraw57e version of View. In View 1.3, the second line should 
be:

>> change/dup at bitmap 0x0 red 8x8


and I think, it's a good change. You could argue, that the offset 
should be 1x1 in the corner, like series are indexed from 1, and 
not zero. What do you think?
Brock
26-Jun-2005
[1743x4]
I'm  wondering whey then the first hex value in the image that is 
created has the #FF0000 in it for both images?
First method using 1x0...
== make image! [100x100 #{
FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000....
second method using 0x0...
== make image! [100x100 #{
FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000....
wouldn't the first method have a #000000 as the first hex value of 
the image?
Geomol
26-Jun-2005
[1747]
What you see is the hex from the change and forward. To see the bitmap 
from the beginning, just type bitmap at the prompt.
Rebolek
28-Jun-2005
[1748x3]
I thought this two lines should look different, shouldn't they?
>> view layout [box 100x100 black effect[draw[rotate 45 0x0 fill-pen 
red box 20x20 ]]]

>> view layout [box 100x100 black effect[draw[rotate 45 50x50 fill-pen 
red box 20x20 ]]]
as I understand it the second example should rotate the square in 
center
DideC
28-Jun-2005
[1751]
Look at "Draw commands" in Rebol.com/docs/developer, there is no 
center value for 'rotate (now that the doc is up to date, there was 
one in the old docs). Use 'transform if you need center value.
Rebolek
28-Jun-2005
[1752x2]
I had old documentation by the hand, my fault, sorry
now it works ok (my future 'knob style ;)- do http://krutek.info/rebol/knob.r
DideC
28-Jun-2005
[1754]
I did that mistake some days ago ;-)
Rebolek
28-Jun-2005
[1755x4]
nevim
nevim
sorry
that autofocus :/
Carlos
30-Jun-2005
[1759x3]
I have posted this once while in the first REBOL world and up to 
now things are the same. The trouble is while I am posting this I 
notice the foreign characters under Linux are yet not supported by 
/View. I am using Debian Ubuntu with brazilian ABNT2 keyboard layout 
and I am not able to input some characters used in Portuguese such 
as ´a ´e ´i ´o `u `a ^o ~a .
I just cannot remember who at that time ( probably a french guy) 
mentioned a workround to trick /View but I think this is a bug that 
must be fixed
anyone using /View under Linux facing the same trouble?
Graham
30-Jun-2005
[1762x2]
This is a View application .. and I see them
Are they not visible under Linux?
Carlos
30-Jun-2005
[1764]
that´´s not what I mean. they are visible but the accents are misplaced. 
for instance in the word coraç~ao (heart in English) I should get 
the tild uppon the letter "a" and not before it. got it?
Graham
30-Jun-2005
[1765x2]
ahh...
ã
Carlos
30-Jun-2005
[1767]
that´s it
Graham
30-Jun-2005
[1768]
So, you can't input it?
Carlos
30-Jun-2005
[1769x5]
i cannot get it here... no way at all using the layout ABNT2
funny because all the rest of Linux apps works ok
no matter if I use Gnome, KDE or whatever
I cannot input thiose chars at all
you wrote "a" with tilde  under Linux?
Graham
30-Jun-2005
[1774x2]
no, Windows
have u filed a Rambo report ?
Pekr
30-Jun-2005
[1776]
we need Unicode. It is already one year ago or more, when Carl told 
me, that RT received more requests for Unicode support and that it 
is relatively high on their to-do list. But who knows what does "high" 
mean here :-)
Carlos
30-Jun-2005
[1777]
Carl knows the problem ... well at least I had the chance to talk 
to him once trhu a feed back... and also there was a ticket in the 
past ... i remember... but then
Graham
30-Jun-2005
[1778]
file it again if it's not there.  That's the only source they now 
use.
Carlos
30-Jun-2005
[1779x6]
I guess RT put things aside just because its not so urgent
I just do not know how to to it. would you mind to explain to me 
how-to?
at www.rebol.net?
where?
sorry I got it ... pls do not mind
allright guys I got a ticket:  RAMBO Ticket #-359 . Let´s see what 
happens. Thank you all
Rebolek
1-Jul-2005
[1785]
I was working on my knob style and I realized that the knobs look 
like flying saucers from ed wood films. so here is simple demo - 
do http://krutek.info/rebol/ufo.r
Graham
1-Jul-2005
[1786]
how do you fire? space bar doesn't work!
DideC
1-Jul-2005
[1787]
:)
Rebolek
1-Jul-2005
[1788]
graham :)
Graham
1-Jul-2005
[1789]
sorry, I thought I was playing Asteroids :)