World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Graham 14-Apr-2007 [5915] | yes, its in drop-tree |
Ashley 14-Apr-2007 [5916] | Is that a critical widget for you? |
Graham 14-Apr-2007 [5917x2] | No, I am removing it now. |
It was nice to have but no critical | |
Ashley 14-Apr-2007 [5919] | chart, drop-tree, grid & input-grid need a bit of work to get them working again with Beta 2. |
Graham 14-Apr-2007 [5920x2] | Ok. |
What do you think then of adding global function key handlers? | |
Ashley 14-Apr-2007 [5922] | Not a bad idea. How do you specify them (i.e. if not via a display refinement then where/how)? |
Graham 14-Apr-2007 [5923x6] | It would make it easier for me each time I have to merge my sources with yours ;-) |
well, I just have these functions f1-handler: does [] | |
and just redefine them when I need to use them. | |
ie. stubs | |
f10 is inaccessible though | |
it appears to be trapped by windows | |
Ashley 14-Apr-2007 [5929] | So they reside in the global name space, or do you define them within ctx-rebgui? |
Graham 14-Apr-2007 [5930x2] | global name space |
but one could put them into ctx-rebgui | |
Ashley 14-Apr-2007 [5932] | F1 - F12? Do you have a sample of the code you've had to add back? |
Graham 14-Apr-2007 [5933x7] | I just had this |
in process-keystroke #" " [ ; do button action on SPC if all [view*/focal-face view*/focal-face/type = 'button][ view*/focal-face/action view*/focal-face ] ] ;; GC function key handlers f1 [f1-handler] f2 [f2-handler] f3 [f3-handler] f4 [f4-handler] f5 [f5-handler] f6 [f6-handler] f7 [f7-handler] f8 [f8-handler] f9 [f9-handler] f10 [f10-handler] f11 [f11-handler] f12 [f12-handler] | |
BTW, in chat.r, in a multi line text message, the blue divider cuts across the first line of text | |
It fixes when you risize | |
resize | |
If there is a lot of text, it won't display all the text in a message | |
It preserves the formatting of the original size and needs to reflow the text | |
Ashley 14-Apr-2007 [5940] | Got it. I've been thinking that the following accessors would probably cover most usage cases: add-message add-message/top delete-message delete-message/top set-user-color set-message-color redraw |
Graham 14-Apr-2007 [5941x2] | edit-message ?? |
sometimes one has to do these things !! | |
Ashley 14-Apr-2007 [5943] | Do you mean change-message (i.e. replace message 24 of 50 with the following ...) |
Graham 14-Apr-2007 [5944] | yes |
Ashley 14-Apr-2007 [5945] | So a 'set-message-text accessor? |
Graham 14-Apr-2007 [5946x6] | yes |
http://www.compkarori.com/reb/chatlo.png | |
this is my rebgui interface to the rebelBB.cgi script | |
if you resize, and the messages don't fill the screen, the offset needs to be reset to 0 | |
for the main pane .. otherwise, the messages start mid screen. | |
vertically | |
Ashley 14-Apr-2007 [5952] | Does the data structure meet your needs? Note that, like AltME, if the date is today then the time component is shown instead. You can insert abbreviated date/time's with: to date! reform [now/date now/time] |
Graham 14-Apr-2007 [5953x2] | I think it's nice to have an addition column for a message id. |
Otherwise , if you try and refer to a particular message .. you can't.. except by pointing to a datestamp which may be different depending upon which time zone you're in. | |
Ashley 14-Apr-2007 [5955] | Preceeding the User column? |
Graham 14-Apr-2007 [5956x6] | Yes. |
I think with Altme, each message is followed by a font block etc. | |
so, each colum of data is then followed by a block that specifies the font, background etc. | |
Which might be a bit of overkill ... | |
In my chat client, I use Allen's parser to create active links for http/s ftp etc. | |
Allen and Gabriele's | |
Ashley 14-Apr-2007 [5962x2] | Is it safe to assume that messages will always be in ascending age order? i.e. Do we need to cater for message insertion at top? Or message numbers that are in descending order? I want to avoid having sortable columns. Simple but functional is good. |
Allen and Gabriele's ... rebol.org link? | |
Graham 14-Apr-2007 [5964] | http://www.compkarori.com/reb/download-manager.r |
older newer | first last |