Hi,
I'm following Johan's advice and I'm trying to reimplement the interface for grafoscopio using Spec and Spec-Glamour. So far, I'm just getting a feeling of Spec by trying to define layouts, new icons[*], and tool bars (see some test at [1]). Now the time to put real data is coming, so I would like to explore some code which uses newTree or TreeModel to build a GUI in Spec. Spec doc use lists, but I would like something closer to trees, with proper population of nodes and children. Any pointers to where is a good example to start will be appreciated. [1] https://twitter.com/offrayLC/status/641971231470841856 Cheers, Offray [*] Peter, the problem about running out of space while loading icons with IconFactory was solved if I don't use cache. Still is strange because icons are small and few in my test, but this approach worked. |
Hi,
are you looking for something in particular? Because in TreeModel class-side there are four examples ready to go. [*] Peter, the problem about running out of space while loading icons with IconFactory was solved if I don't use cache. Still is strange because icons are small and few in my test, but this approach worked. Would you mind sharing the icons somewhere please? (Or just send a zip with the icons.) Because this is a problem that should be resolved. Peter |
Hi Peter,
On 10/09/15 21:27, Peter Uhnák wrote:
Je je, silly me. I made a newbie mistake and I didn't look the class side... I'll take a look of them.
Sure thing. Look at the file repository of the project here: http://mutabit.com/deltas/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip You will find two icons families FontAwesome and Menda with two directories on each one "Svg" and "Png". They contain my custom selection of icons from this families for this project. I'm using the files contained in the "Png" folders. Cheers, Offray |
Hi Offray,
> http://mutabit.com/deltas/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip is this still alive? Because all links at mutabit.com are 404ing Thanks, Peter |
Hi Peter,
I'm making a major migration of my servers, because Digital Ocean's recent migration made my Arch Linux imagen kernel unable to boot, so I'm moving to debian and used this as an opportunity to bring some order. Rewrite rules for the server are not enable yet. The new working address is this: http://mutabit.com/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip Cheers, Offray On 18/09/15 17:01, Peter Uhnák wrote: > Hi Offray, > >> http://mutabit.com/deltas/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip > is this still alive? Because all links at mutabit.com are 404ing > > Thanks, > Peter > > |
This is super odd.
I loaded files from Icons/Menda/Png without any problem what-so-ever. :< But maybe using cache is pointless anyway considering the limit is 64 icons which will pretty much never be reached... Maybe I should just replace it with regular Dictionary.... can you try replacing the LRUCache with Dictionary if the problem still exists? Peter On Mon, Sep 21, 2015 at 12:56 AM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote: > Hi Peter, > > I'm making a major migration of my servers, because Digital Ocean's recent > migration made my Arch Linux imagen kernel unable to boot, so I'm moving to > debian and used this as an opportunity to bring some order. Rewrite rules > for the server are not enable yet. The new working address is this: > > http://mutabit.com/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip > > Cheers, > > Offray > > > On 18/09/15 17:01, Peter Uhnák wrote: >> >> Hi Offray, >> >>> >>> http://mutabit.com/deltas/repos.fossil/grafoscopio/dir?name=Common/Icons&ci=tip >> >> is this still alive? Because all links at mutabit.com are 404ing >> >> Thanks, >> Peter >> >> > > |
Free forum by Nabble | Edit this page |