Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: [TOOL] Open-source Skill wheel!
Thread: [TOOL] Open-source Skill wheel! This thread is 7 pages long: 1 2 3 4 5 6 7 · «PREV
dredknight
dredknight


Promising
Supreme Hero
disrupting the moding industry
posted September 16, 2017 08:40 PM
Edited by dredknight at 20:53, 16 Sep 2017.

I accept any kind of help. We can change the fonts to a one that will be seen better. I am not designer so I just go and pick one that I like.

The project code is available on github. However data files are not available there so I have to hand them over by hand. Actually everyone who has the wheel installed can open the folder and see all the files + code. File is called main.rb.
Folders with data are: text, pics, fonts, design, code.

All other files inside the Application folder are mini Shoes compiler so that the user does not need to install the full version separately.

I will update the front page for the next release with that information .

Regarding resizing I have disabled it on purpose because it does not resize into a manner you think it will. Object size does not increase some more space is created on right and bottom side.

I have some idea about how to add the scale for some stuff but a lot of issues will arise and I am not sure if the time invested will worth it.
However I will ask on the framework forums if there is any other way beyond the one I am thinking of.

Cheers
____________
Find an opponent at HoMM55 Tavern! | NCF Utility Alpha

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
dredknight
dredknight


Promising
Supreme Hero
disrupting the moding industry
posted September 19, 2017 09:29 PM
Edited by dredknight at 21:46, 19 Sep 2017.

Alright guys. I am starting a full scale refactoring of the wheel.
there will be a bigger version for sure.

I am also experimenting with some resizing and fullscreen options but so far nothing promising. This is a bit beyond the framework capabilities. Plus I have already done some "beyond-the-framekwork" things with the popups implementation so there are a lot of dependencies the GUI resizing will touch.
____________
Find an opponent at HoMM55 Tavern! | NCF Utility Alpha

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
dabuthegreat
dabuthegreat


Adventuring Hero
posted September 20, 2017 07:32 AM

dredknight said:
Alright guys. I am starting a full scale refactoring of the wheel.
there will be a bigger version for sure.

I am also experimenting with some resizing and fullscreen options but so far nothing promising. This is a bit beyond the framework capabilities. Plus I have already done some "beyond-the-framekwork" things with the popups implementation so there are a lot of dependencies the GUI resizing will touch.


Thanks for your work Dredknight.

I looked up into the github repo you've posted and your codebase is pretty managable. I'm wondering if your GUI toolkit choice is limiting you. I'm guessing you're most comfortable with Ruby and Shoes is the only choice there, but I think if you were to choose a different GUI toolkit (like Qt or even pure Gtk) your work would be a lot easier.

What do you think about that? I personally don't have much experience with Qt, but it's something I could help you with.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
dredknight
dredknight


Promising
Supreme Hero
disrupting the moding industry
posted September 20, 2017 11:17 AM
Edited by dredknight at 11:18, 20 Sep 2017.

Currently Shoes is using GTK but is limited to what is implemented. Other developers also advised me to move to GTK so I believe this is the way to go.

Unfortunately I have to neglect it for now as learning it will take some time and focus and my mind is kind of chaotic the last 6-8 months so this will probably take even more time .

For now I will work with what I have and just do a bigger version of the wheel. I did some tests yesterday and it looks good.

Thanks for the good advice .
____________
Find an opponent at HoMM55 Tavern! | NCF Utility Alpha

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
magnomagus
magnomagus


Honorable
Legendary Hero
modding wizard
posted September 20, 2017 11:43 AM

Better not get overworked over this, just to make the UI scaling!

The manual is still fine, even if it stays as it is. If you can make it bigger without too much effort that's great, but not necessary.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
dredknight
dredknight


Promising
Supreme Hero
disrupting the moding industry
posted September 21, 2017 12:32 AM

No worries . Just bigger version is not going to take too much effort.
____________
Find an opponent at HoMM55 Tavern! | NCF Utility Alpha

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
dredknight
dredknight


Promising
Supreme Hero
disrupting the moding industry
posted September 25, 2017 01:54 PM
Edited by dredknight at 13:56, 25 Sep 2017.

Important message

I have a couple of news to share. You already know that the app is going to be bigger and change is already done. While refactoring the code I decided to migrate all design dependencies from .txt to an actual database (SQLite3). This reduced the file count of the application with about 700-800 files.

This DB can be used for anything heroes related V so I advise to get a copy asap.

Migration script that I used to build the DB from the application files is here. What is useful about it are some parsing commands. They help you take all the necessary information out of the heroes V.xdb files.

On the top of the stuff above now the wheel responsiveness a few times faster. Literally.
____________
Find an opponent at HoMM55 Tavern! | NCF Utility Alpha

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 7 pages long: 1 2 3 4 5 6 7 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0478 seconds