Yeet
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -254,10 +254,10 @@ public:
|
||||
mandelbrotset_dialog->Position({20_px, 300_px});
|
||||
|
||||
auto* mandelbrotset_layout = new JUI::VerticalListLayout(mandelbrotset_dialog->ViewportInstance());
|
||||
mandelbrotset_layout->LayoutOrder(JUI::LayoutOrder::V::BOTTOM);
|
||||
mandelbrotset_layout->LayoutOrder(JUI::LayoutOrder::V::TOP);
|
||||
|
||||
|
||||
int idx = 0;
|
||||
int idx = 999;
|
||||
|
||||
auto mb_line_item = [&] (const std::string& text, int size = 20, const Color4& color = Colors::White) {
|
||||
|
||||
@@ -268,7 +268,7 @@ public:
|
||||
content->SetTextColor(color);
|
||||
content->BGColor(Colors::Transparent);
|
||||
content->AlignCenterHorizontally();
|
||||
content->LayoutOrder(idx++);
|
||||
content->LayoutOrder(idx--);
|
||||
};
|
||||
|
||||
mb_line_item("The Mandelbrot Set");
|
||||
|
Reference in New Issue
Block a user