Skip to content

Commit 71c12ee

Browse files
Defined function to implement layout information in Setting_Window_LayoutManager.cc
1 parent c7779ba commit 71c12ee

1 file changed

Lines changed: 33 additions & 7 deletions

File tree

Source/GUI/Toolkit/Include/SettingWindow_LayoutManager.hpp

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,49 @@ GUI_TOOLKIT_NAMESPACE
2929
PtrUnique<DataImpl> Impl;
3030

3131
public:
32-
Self *StartBuild();
32+
Self *StartBuild() noexcept;
3333

3434
CLASS_BUILD(T, V)
35-
Self *WithAndThen(T DataImpl::*member, V &&value) {
35+
inline Self *WithAndThen(T DataImpl::*member, V &&value) noexcept {
3636
Impl.get()->*member = FORWARD(V, value);
3737

3838
return this;
3939
}
4040

41-
Self *WhenDone();
41+
Self *WhenDone() noexcept;
4242

43-
Layout *GetLayout();
44-
ComponentsManager *GetComponentsManager();
43+
Layout *GetLayout() noexcept;
44+
ComponentsManager *GetComponentsManager() noexcept;
4545

46-
Widget GetSetPasswordButtonLayout();
46+
Widget GetSetPasswordButtonLayout(
47+
Layout *layout,
48+
ComponentsManager *componentsManager) const noexcept;
4749

48-
void SetupSettingWindowLayout();
50+
Widget GetHideWindowSettingCheckboxLayout(
51+
Layout *layout,
52+
ComponentsManager *componentsManager) const noexcept;
53+
54+
Widget GetNotificationCheckboxLayout(
55+
Layout *layout,
56+
ComponentsManager *componentsManager) const noexcept;
57+
58+
Widget GetLanguageListBoxLayout(
59+
Layout *layout,
60+
ComponentsManager *componentsManager) const noexcept;
61+
62+
Widget GetThemeListBoxLayout(
63+
Layout *layout,
64+
ComponentsManager *componentsManager) const noexcept;
65+
66+
Widget GetLanguageLabelLayout(
67+
Layout *layout,
68+
ComponentsManager *componentsManager) const noexcept;
69+
70+
Widget GetThemeLabelLayout(
71+
Layout *layout,
72+
ComponentsManager *componentsManager) const noexcept;
73+
74+
void SetupSettingWindowLayout() noexcept;
4975

5076
};
5177

0 commit comments

Comments
 (0)