mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
PixelPaint: Add interactive zoom ComboBox to toolbar
Before, there was nothing that tells the user the current zoom level, which is unknown after a 'fit to image' (the initial state).
This commit is contained in:
parent
9013d0fe38
commit
177478dadf
2 changed files with 53 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "ToolboxWidget.h"
|
||||
#include "Tools/Tool.h"
|
||||
#include <LibGUI/Action.h>
|
||||
#include <LibGUI/ComboBox.h>
|
||||
#include <LibGUI/Forward.h>
|
||||
#include <LibGUI/Statusbar.h>
|
||||
#include <LibGUI/TabWidget.h>
|
||||
|
@ -54,6 +55,7 @@ private:
|
|||
RefPtr<ToolPropertiesWidget> m_tool_properties_widget;
|
||||
RefPtr<GUI::TabWidget> m_tab_widget;
|
||||
RefPtr<GUI::Statusbar> m_statusbar;
|
||||
RefPtr<GUI::ComboBox> m_zoom_combobox;
|
||||
|
||||
RefPtr<GUI::Action> m_new_image_action;
|
||||
RefPtr<GUI::Action> m_open_image_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue