载入中...
搜索中...
未找到
Layout.cpp 文件参考
#include "ui/Layout.h"
#include "ui/Theme.h"
#include <imgui.h>
#include <algorithm>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::ui
 

函数

FlexResult eve::ui::flexArrangeSingleLine (bool row, float gap, float availMain, float availCross, FlexAlign containerAlign, FlexJustify justify, const std::vector< FlexItemSpec > &items)
 
FlexResult eve::ui::flexArrange (bool row, float gap, float availMain, float availCross, FlexAlign containerAlign, FlexJustify justify, const std::vector< FlexItemSpec > &items, bool wrap=false, float crossGap=-1.f)
 Flex arrange.
 
GridResult eve::ui::gridArrange (int columns, float columnGap, float rowGap, float availWidth, const std::vector< GridItemSpec > &items)
 Places source-ordered items into equal-width fixed columns.
 
void eve::ui::measureFlowChildren (UIHost::Tree &tree, int firstChild, float *outW, float *outH)
 Measure flow children.
 
void eve::ui::measureNode (UIHost::Tree &tree, int index)
 Measure node.
 
void eve::ui::measureTree (UIHost::Tree &tree)
 Measure tree.