Skip to content

Commit

Permalink
Fixed flowui icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
FangCunWuChang committed Jan 11, 2024
1 parent e18fa1b commit dcbe715
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,24 @@ class MainApplication : public juce::JUCEApplication {
);
InitTaskList::getInstance()->add(
[] {
flowUI::FlowStyle::setButtonLeftIcon("./RemixIcon/Design/layout-left-2-line.svg");
flowUI::FlowStyle::setButtonRightIcon("./RemixIcon/Design/layout-right-2-line.svg");
flowUI::FlowStyle::setButtonTopIcon("./RemixIcon/Design/layout-top-2-line.svg");
flowUI::FlowStyle::setButtonBottomIcon("./RemixIcon/Design/layout-bottom-2-line.svg");
flowUI::FlowStyle::setButtonAdsorbCenterIcon("./RemixIcon/Editor/link.svg");
flowUI::FlowStyle::setButtonAdsorbLeftIcon("./RemixIcon/Design/layout-left-2-line.svg");
flowUI::FlowStyle::setButtonAdsorbRightIcon("./RemixIcon/Design/layout-right-2-line.svg");
flowUI::FlowStyle::setButtonAdsorbTopIcon("./RemixIcon/Design/layout-top-2-line.svg");
flowUI::FlowStyle::setButtonAdsorbBottomIcon("./RemixIcon/Design/layout-bottom-2-line.svg");
flowUI::FlowStyle::setButtonLeftIcon(
utils::getIconFile("Design", "layout-left-2-line").getFullPathName());
flowUI::FlowStyle::setButtonRightIcon(
utils::getIconFile("Design", "layout-right-2-line").getFullPathName());
flowUI::FlowStyle::setButtonTopIcon(
utils::getIconFile("Design", "layout-top-2-line").getFullPathName());
flowUI::FlowStyle::setButtonBottomIcon(
utils::getIconFile("Design", "layout-bottom-2-line").getFullPathName());
flowUI::FlowStyle::setButtonAdsorbCenterIcon(
utils::getIconFile("Editor", "link").getFullPathName());
flowUI::FlowStyle::setButtonAdsorbLeftIcon(
utils::getIconFile("Design", "layout-left-2-line").getFullPathName());
flowUI::FlowStyle::setButtonAdsorbRightIcon(
utils::getIconFile("Design", "layout-right-2-line").getFullPathName());
flowUI::FlowStyle::setButtonAdsorbTopIcon(
utils::getIconFile("Design", "layout-top-2-line").getFullPathName());
flowUI::FlowStyle::setButtonAdsorbBottomIcon(
utils::getIconFile("Design", "layout-bottom-2-line").getFullPathName());
}
);
};
Expand Down

0 comments on commit dcbe715

Please sign in to comment.