From: Kevin W. <kw...@co...> - 2015-01-22 03:23:58
|
On 1/21/15 10:11 AM, Kevin Walzer wrote: > I'd appreciate some feedback on what I've discussed here. The preferred > feedback would be some code help to get native scrolling wired up. > Barring that, would a themed-but-non-native scrollbar be an acceptable > compromise, assuming I can get the look reasonably right? For what it is worth, I have found third-party artwork that implements exactly what I am looking for, Mac-styled scrollbars in the old Aqua and graphite styles, and the current iOS-inspired style. https://addons.mozilla.org/en-US/firefox/addon/ifox-smooth/ https://addons.mozilla.org/en-US/firefox/addon/ifox-graphite/ https://addons.mozilla.org/en-US/firefox/addon/macosx-theme-firefox-4/ All three are licensed under the MPL versions 1.1, which requires that any modifications to the components themselves be identified and made available, along with a copy of the license, but which extends no such obligation to other code surrounding the Mozilla-derived code. As I read the license, I see no issue with bundling the artwork with Tk, as long as the files are kept separate. My plan is to convert any PNG's to GIF format to allow compatibility with Tk 8.5, but otherwise to leave them unchanged. This artwork will allow me to implement ttk-based themed scrollbars for Tk-Cocoa, which preserves UI integration and sidesteps the issues I've had with native scrollbars. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |