| 43 | static const float TEXT_MAX_DESCENT = 0.25f; |
| 44 | |
| 45 | static dmLuaDDF::LuaSource* LuaSourceFromStr(const char *str) |
| 46 | { |
| 47 | static dmLuaDDF::LuaSource src; |
| 48 | memset(&src, 0x00, sizeof(dmLuaDDF::LuaSource)); |
| 49 | src.m_Script.m_Data = (uint8_t*) str; |
| 50 | src.m_Script.m_Count = strlen(str); |
| 51 | src.m_Filename = "gui-dummy"; |
| 52 | return &src; |
| 53 | } |
| 54 | |
| 55 | void GetTextMetricsCallback(const void* font, const char* text, float width, bool line_break, float leading, float tracking, dmGui::TextMetrics* out_metrics); |
| 56 | void RenderNodesStoreTransform(dmGui::HScene scene, const dmGui::RenderEntry* nodes, const dmVMath::Matrix4* node_transforms, const float* node_opacities, |
no outgoing calls
no test coverage detected