Wider quickbar

This is the place to request new mods or give ideas about what could be done.
zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

What styling do you use? UI looks different, it's easier to see borders, it would be useful during development.

r3nt5ch3r
Inserter
Inserter
Posts: 29
Joined: Mon Apr 29, 2024 12:54 pm
Contact:

Re: Wider quickbar

Post by r3nt5ch3r »

It's modded by myself and i'm planning to release it somewhen after Space Age release to avoid incompatibility issues.
I'm not a huge fan of the vanilla 3D-, Shadow-, Glow-things and wanted something flat (https://en.wikipedia.org/wiki/Flat_design).
I've attached it but it's not final.

There are also some debug shortcuts, which might be useful for you (especially removing shadows):
CTRL+F7 -> Remove Shadow
CTRL+F8 -> Remove Glow
And you probably already also know about CTRL+F5 and CTRL+F6.
Attachments
FlatDesignGUI_1.0.0.zip
(114.03 KiB) Downloaded 14 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Almost ready. I'm going to experiment with dynamic resizing to check if it's more convenient then buttons but all basic functionalities are working.
09-24-2024, 13-18-13.png
09-24-2024, 13-18-13.png (1.24 MiB) Viewed 708 times
09-24-2024, 13-18-24.png
09-24-2024, 13-18-24.png (1.18 MiB) Viewed 708 times
Attachments
interface-mod_1.0.0.zip
(44.66 KiB) Downloaded 13 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Dynamic resizing and aligning columns for whole toolbar, more convenient and no ugly buttons anymore. Now I need to work on performance, especially on updating current item count. It's strange that lua is so slow. I wonder if Factorio is not making some operations more expensive, not many things happen there after all.
09-26-2024, 13-23-41.png
09-26-2024, 13-23-41.png (847.28 KiB) Viewed 588 times
09-26-2024, 13-23-51.png
09-26-2024, 13-23-51.png (564.37 KiB) Viewed 588 times
Attachments
interface-mod_1.0.0.zip
(39.85 KiB) Downloaded 9 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Big performance improvement, not perfect but decent time of items counting.
09-26-2024, 14-33-25.png
09-26-2024, 14-33-25.png (778.52 KiB) Viewed 563 times
Attachments
interface-mod_1.0.0.zip
(39.84 KiB) Downloaded 13 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Further performance improvements + highlighting held ghost. Done for today.
Attachments
interface-mod_1.0.0.zip
(40.25 KiB) Downloaded 10 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Great performance improvement. Even with hundreds slots it takes roughly 1ms to sync count in toolbar with inventory.
Added scrollbar when toolbar is higher than screen.
Added crafting: (further improvement awaiting, I want those bindings to be configurable and also add binding for crafting a stack)
ctrl + left = 1
alt + left = 5
shift + left = all
When locked and there is no section with name longer than 3 letters minimum number of columns is 1 instead of 2 as previously was, if it's longer than 3 then minimum number of columns is 2.
10-01-2024, 00-23-44.png
10-01-2024, 00-23-44.png (244.46 KiB) Viewed 404 times
Attachments
interface-mod_1.0.0.zip
(45.42 KiB) Downloaded 9 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

A lot of small improvements.
Attachments
2024-10-02 175952.png
2024-10-02 175952.png (12 MiB) Viewed 329 times
2024-10-02 175945.png
2024-10-02 175945.png (2.56 MiB) Viewed 329 times
toolbars-mod_1.0.0.zip
(45.72 KiB) Downloaded 8 times

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Crafting controls:
Ctrl + left = 1
Ctrl + right = 5
Alt + left = stack
Alt + right = half stack
Shift + left = all
Shift + right = half all

zerwiport
Inserter
Inserter
Posts: 30
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

Re: Wider quickbar

Post by zerwiport »

Released. Performance improved greatly since last posted here version.
https://mods.factorio.com/mod/toolbars-mod

Post Reply

Return to “Ideas and Requests For Mods”