|
From: Kevin W. <sw...@wo...> - 2005-02-25 21:58:40
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael,
OK, I think I've gotten the patches applied correctly, and the new
version of Tile built. I have written a little script to display the
barber pole, and I'm not getting it right (nothing displays but the
"trough" where the progress bar should be). Can you take a look and let
me know what I'm doing wrong?
Thanks.
- ---
package require tile
ttk::progress .p1 -from 0 -to 0
pack .p1
.p1 set 0
set i1 0
proc showprog {} {
global i1
incr i1
.p1 set $i1
after 10 showprog
}
after 10 showprog
- --
Cheers,
Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.smallbizmac.com
http://www.kevin-walzer.com
mailto:sw...@wo...
Michael Kirkham wrote:
|
| I probably forgot to do the diffs in unified format. I tend to do that
| a lot. :P It should be okay, it just requires telling it which files to
| patch when it prompts you to. And make sure you have the latest sources
| from CVS HEAD.
|
| cd /your/tile/src/dir
| patch < /wherever/is/progressanim2.diff
|
| At each prompt, type in the name of the file to patch that it shows you.
| e.g. "generic/scale.c" when it tells you about scale.c and asks you
| which file to patch.
|
| Looking at the diffs, It'll want to patch generic/scale.c,
| generic/tkElements.c, aquaTheme.tcl and aquaTheme.c. You can skip
| aquaTheme.tcl - that shouldn't be in the rev 2 patch, but it doesn't
| matter. It just specifies a theme setting for the period between
| animation frames which is unused in the 2nd rev and will be ignored.
|
| On Fri, 25 Feb 2005, Kevin Walzer wrote:
|
|> Date: Fri, 25 Feb 2005 15:37:02 -0500
|> From: Kevin Walzer <sw...@wo...>
|> To: Michael Kirkham <mi...@mu...>
|> Cc: Joe English <jen...@fl...>,
|> tkt...@li...
|> Subject: Re: [Tile-dev] Progress bars
|>
| Forgive my ignorance--I downloaded this patch and am trying to apply it,
| but I'm not getting the correct results. There actually seem to be
| patches/diffs for several files here. Can someone outline the steps I
| sohuld take to apply it?
|
| Cheers,
|
| Kevin Walzer, PhD
| WordTech Software--Open Source Applications and Packages for OS X
| http://www.wordtech-software.com
| http://www.smallbizmac.com
| http://www.kevin-walzer.com
| mailto:sw...@wo...
|
| Michael Kirkham wrote:
| |
| | On Thu, 24 Feb 2005, Joe English wrote:
| |
| |> + Animation. On Aqua and on some KDE themes (depending on
| |> the user's preferred eye candy level) thermometer-style
| |> progress bars have an additional pulsing/throbbing effect,
| |> presumably to let the user know that the program hasn't
| |> locked up even if the bar isn't otherwise moving.
| |> Michael Kirkham (muonics) has a patch that implements this
| |> on OSX.
| |
| |
| | The latest version of the patch submitted a little while ago implements
| | barber-pole style indeterminate progress bars for other themes except
| | clam (any that doesn't already have its own progress widget, I think),
| | too. Still needs a few tweaks, but it's functional.
| |
| | Indeterminate mode is obtained by setting -from and -to both to 0. As
| | long as both have value 0, it will animate a barberpole. Change either
| | to non-zero and it will switch to a regular progress bar (showing
| just a
| | track if the "set" value is <= -from).
| |
| | If anyone wants to play with it the current patch is at:
| |
| |
|
https://sourceforge.net/tracker/index.php?func=detail&aid=1144673&group_id=11464&atid=311464
|
|
| |
| |
| | --
| | Michael Kirkham
| | www.muonics.com
| |
| |
| | -------------------------------------------------------
| | SF email is sponsored by - The IT Product Guide
| | Read honest & candid reviews on hundreds of IT Products from real
| users.
| | Discover which products truly live up to the hype. Start reading now.
| | http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
| | _______________________________________________
| | Tktable-tile-dev mailing list
| | Tkt...@li...
| | https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev
| |
| |
|>
|>
- -------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Tktable-tile-dev mailing list
Tkt...@li...
https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev
|>
| --
| Michael Kirkham
| www.muonics.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCH5+JJmdQs+6YVcoRAuVxAJ9Xn6OnOv4ilqVzRntYIzPuzWPo1ACgiav9
XXQQaAm8ESfmN0UbEl/7RAw=
=TSXj
-----END PGP SIGNATURE-----
|