On Thu, Aug 7, 2008 at 6:15 PM, sander <email address hidden> wrote:
>>> Ok, you convinced me, but maybe you should combine it with an
>>> extremely short fade effect to make it look more smooth?
>>>
>>
>> This time I say that there is no chance this can happen with current Tk.
>> There just aren't low level tools to do this, at least right now.
>
> You said the same last time!! B-)
>
This time it i for sure.
>> Instead, I was thinking of doing a sinus shaped movement when sliding
>> instead of linear as it is now. Needs testing.
>
> What is "sinus shaped movement"?
Implemented and tested. On by default. Actually, it gets even cooler!
Please experiment yourself using:
namespace eval ::UI {
variable slide
#set slide(mode) linear
set slide(mode) sinus
set slide(step) 20
# On slower OS/machines we should decrease this value.
if {[tk windowingsystem] eq "aqua"} {
set slide(ms) 20
} else {
set slide(ms) 40
}
}
in UI.tcl or just do:
set UI::slide(ms) 1
etc.
>
>> This is the lousy Mac subwindow implementation of Tk. Other platforms
>> are much better at this.
>
> Maybe you can fix or work around this?
>
Cocoa is the way to go. And it's a long way. If you look at the
tcl-mac mailing list archive maybe you can find the guy who said he
was doing this blog.
Another one: menu now added, Cmd-S not good for this. Edit the line
set m {command mShowControlPanel {::JUI::ToyStatusCmd} {}}
in JUI.tcl to
set m {command mShowControlPanel {::JUI::ToyStatusCmd} {Z}}
or whatever.
On Thu, Aug 7, 2008 at 6:15 PM, sander <email address hidden> wrote:
>>> Ok, you convinced me, but maybe you should combine it with an
>>> extremely short fade effect to make it look more smooth?
>>>
>>
>> This time I say that there is no chance this can happen with current Tk.
>> There just aren't low level tools to do this, at least right now.
>
> You said the same last time!! B-)
>
This time it i for sure.
>> Instead, I was thinking of doing a sinus shaped movement when sliding
>> instead of linear as it is now. Needs testing.
>
> What is "sinus shaped movement"?
Implemented and tested. On by default. Actually, it gets even cooler!
Please experiment yourself using:
namespace eval ::UI {
variable slide
#set slide(mode) linear
set slide(mode) sinus
set slide(step) 20
# On slower OS/machines we should decrease this value.
if {[tk windowingsystem] eq "aqua"} {
set slide(ms) 20
} else {
set slide(ms) 40
}
}
in UI.tcl or just do:
set UI::slide(ms) 1
etc.
>
>> This is the lousy Mac subwindow implementation of Tk. Other platforms
>> are much better at this.
>
> Maybe you can fix or work around this?
>
Cocoa is the way to go. And it's a long way. If you look at the
tcl-mac mailing list archive maybe you can find the guy who said he
was doing this blog.
Another one: menu now added, Cmd-S not good for this. Edit the line :ToyStatusCmd} {}} :ToyStatusCmd} {Z}}
set m {command mShowControlPanel {::JUI:
in JUI.tcl to
set m {command mShowControlPanel {::JUI:
or whatever.