Clang format

simplify_debugging
smilczek 2 years ago
parent 2910e35bc2
commit 05a2dc985b

@ -326,8 +326,7 @@ namespace MWGui
mScrollBar->eventScrollChangePosition += MyGUI::newDelegate(this, &DialogueWindow::onScrollbarMoved);
mHistory->eventMouseWheel += MyGUI::newDelegate(this, &DialogueWindow::onMouseWheel);
BookPage::ClickCallback callback =
[this](TypesetBook::InteractiveId link) { notifyLinkClicked(link); };
BookPage::ClickCallback callback = [this](TypesetBook::InteractiveId link) { notifyLinkClicked(link); };
mHistory->adviseLinkClicked(callback);
mMainWidget->castType<MyGUI::Window>()->eventWindowChangeCoord

@ -123,8 +123,7 @@ namespace
topicsList->eventItemSelected += MyGUI::newDelegate(this, &JournalWindowImpl::notifyTopicSelected);
{
MWGui::BookPage::ClickCallback callback =
[this](intptr_t linkId) { notifyTopicClicked(linkId); };
MWGui::BookPage::ClickCallback callback = [this](intptr_t linkId) { notifyTopicClicked(linkId); };
getPage(LeftBookPage)->adviseLinkClicked(callback);
getPage(RightBookPage)->adviseLinkClicked(callback);
@ -136,8 +135,8 @@ namespace
}
{
MWGui::BookPage::ClickCallback callback =
[this](MWGui::TypesetBook::InteractiveId index) { notifyTopicClicked(index); };
MWGui::BookPage::ClickCallback callback
= [this](MWGui::TypesetBook::InteractiveId index) { notifyTopicClicked(index); };
getPage(LeftTopicIndex)->adviseLinkClicked(callback);
getPage(CenterTopicIndex)->adviseLinkClicked(callback);

Loading…
Cancel
Save