mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-02 13:09:27 +00:00
Add styles for ink type and dynamics buttons
This commit is contained in:
parent
ea43c5f6c8
commit
029e520f81
@ -1067,6 +1067,8 @@
|
||||
<style id="brush_type_mono" extends="context_bar_button" padding-top="1">
|
||||
<icon color="button_normal_text" />
|
||||
</style>
|
||||
<style id="ink_type" extends="context_bar_button" padding-left="1" />
|
||||
<style id="dynamics_field" extends="context_bar_button" padding-left="1" />
|
||||
<style id="pivot_field" extends="context_bar_button" padding-top="1" />
|
||||
<style id="pivot_dir" extends="buttonset_item_icon" width="17" height="19" />
|
||||
<style id="selection_mode" extends="context_bar_button" padding-top="1" />
|
||||
|
@ -470,7 +470,7 @@ public:
|
||||
InkTypeField(ContextBar* owner) : ButtonSet(1)
|
||||
, m_owner(owner) {
|
||||
auto theme = SkinTheme::get(this);
|
||||
addItem(theme->parts.inkSimple(), "context_bar_button");
|
||||
addItem(theme->parts.inkSimple(), "ink_type");
|
||||
}
|
||||
|
||||
void setInkType(InkType inkType) {
|
||||
@ -1149,7 +1149,7 @@ public:
|
||||
DynamicsField(ContextBar* ctxBar)
|
||||
: ButtonSet(1)
|
||||
, m_ctxBar(ctxBar) {
|
||||
addItem(SkinTheme::get(this)->parts.dynamics(), "context_bar_button");
|
||||
addItem(SkinTheme::get(this)->parts.dynamics(), "dynamics_field");
|
||||
}
|
||||
|
||||
void switchPopup() {
|
||||
|
Loading…
Reference in New Issue
Block a user