mcpp index

compat.eui-neo

#include

EUI-NEO — declarative retained-mode C++17 UI framework (GLFW + OpenGL)

#include <eui_neo.h>
mcpp add compat.eui-neo@0.6.5

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

// compat.eui-neo `app-main` FEATURE: there is no main() in this file on purpose.
// The entry point is upstream's core/app/glfw_app_main.cpp, which the feature
// adds to the library — it owns the window, the GL backend and the render loop,
// and calls back into the two symbols an EUI application must supply:
// app::dslAppConfig() and app::compose(). That is the whole shape being pinned
// here, and it is the shape a real EUI-NEO application uses.
//
// tests/examples/eui-neo-window asserts the OTHER half of the same feature pair:
// the same UI driven by a hand-written main(), with `app-main` NOT enabled.
//
// Two things make this member work under `mcpp test`:
//
//  1. The link IS the primary assertion. `main` has to come from the package;
//     if the feature ever stops gating glfw_app_main.cpp in, this member fails
//     with `undefined reference to 'main'`. Conversely, if the feature ever
//     stopped being opt-in, every OTHER member would fail with
//     `multiple definition of 'main'` — mcpp links a dependency's objects
//     eagerly, so there is no lazy-archive escape hatch.
//
//  2. Running a window needs a display, so the run is opt-in via
//     MCPP_RUN_WINDOW=1, as in tests/examples/imgui-window. Because the entry
//     point belongs to the package, the gate cannot live in main() — it lives in
// …

tests/examples/eui-neo-app-main/tests/app_main.cpp · 專案 tests/examples/eui-neo-app-main

建置

targets
eui-neo (lib)
language
c++23
C standard
c99
import std
no
include dirs
*/include, *, mcpp_generated

功能

功能宣告了
plotsources
serialsources
markdowndeps, defines
app-main-sdl2sources
vulkandeps, sources, defines
networkdeps, defines
sdl2deps, defines
app-mainsources

原始檔 (28)

  • */core/platform/async.cpp
  • */core/platform/json.cpp
  • */core/platform/native_bridge.c
  • */core/platform/network.cpp
  • */core/platform/performance_stats.cpp
  • mcpp_generated/eui_neo_platform_tu.cpp
  • */core/platform/tray_bridge.c
  • */core/render/image.cpp
  • */core/render/image_stream.cpp
  • */core/render/image_facade.cpp
  • */core/render/image_source.cpp
  • */core/render/primitive.cpp
  • */core/render/render_backend.cpp
  • */core/render/shadertoy.cpp
  • */core/render/shadertoy_json.cpp
  • */core/render/shadertoy_primitive.cpp
  • */core/render/stb_image_impl.cpp
  • */core/render/text.cpp
  • */core/render/opengl/opengl_backend.cpp
  • */core/render/opengl/opengl_image.cpp
  • */core/render/opengl/opengl_primitives.cpp
  • */core/render/opengl/opengl_shadertoy.cpp
  • */core/render/opengl/opengl_text.cpp
  • */core/platform/gesture_bridge.c
  • */core/platform/ime_bridge.c
  • */core/window/window_backend.cpp
  • */core/window/window_input_backend.cpp
  • */core/audio/audio.cpp

產生的檔案

  • mcpp_generated/eui_neo_platform_tu.cpp
  • mcpp_generated/mcpp_eui_backends.h

版本

版本平台 鏡像sha256
0.6.5 最新 LinuxWindowsmacOS CN GLOBAL b77b40341e4f…
0.6.4 LinuxWindowsmacOS 來源 d99b25600b99…
0.6.3 LinuxWindowsmacOS 來源 08074e2fb726…
0.6.2 LinuxWindowsmacOS 來源 189d97aadb04…
0.6.1 LinuxWindowsmacOS 來源 cd0bd6bd4371…
展開全部 13 個版本
0.6.0 LinuxWindowsmacOS 來源 11d0725bcc6f…
0.5.9.1 LinuxWindowsmacOS 來源 370d1da706d9…
0.5.9 LinuxWindowsmacOS 來源 370d1da706d9…
0.5.8 LinuxWindowsmacOS 來源 004d46f34d98…
0.5.7 LinuxWindowsmacOS CNGLOBAL 2d3ec0a36e34…
0.5.6 LinuxWindowsmacOS CNGLOBAL 0df8d79897a4…
0.5.5 LinuxWindowsmacOS CNGLOBAL cf0da91d7544…
0.5.3 LinuxWindowsmacOS CNGLOBAL 6951ac330d03…