huxerui.interaction
importInteractive primitives, controllers, feedback modifiers, and visual motion effects for HuxerUI
import huxerui.interaction;
Module name read from the upstream `export module` declaration in modules/interaction.cppm.
mcpp add huxerui.interaction@0.2.0
Usage
From this repository's own test project — built and run by CI, not written for the website.
// Headless C++23 module consumer test for huxerui.interaction.
// Verifies package resolution, transitive huxerui.huxerui linking, pipe/mask
// operators exported via huxerui.interaction.operators, and out-of-line
// std::invalid_argument validation across the module boundary.
import std;
import huxerui.interaction;
using namespace huxerui;
using namespace huxerui::interaction;
namespace {
template <class Fn>
bool ThrowsInvalidArgument(Fn&& fn) {
try {
fn();
} catch (const std::invalid_argument&) {
return true;
}
return false;
}
// …
tests/examples/huxerui-interaction/tests/runtime.cpp · project tests/examples/huxerui-interaction
Build · upstream manifest
- modules
huxerui.interaction- targets
huxerui_interaction (lib), interaction (lib)- language
c++23- manifest version
0.2.0- dependencies
huxerui- source
https://raw.githubusercontent.com/HuxerUI/Lib-Interaction/v0.2.0/mcpp.toml
Versions
| Version | Platforms | Mirrors | sha256 |
|---|---|---|---|
0.2.0 latest |
LinuxWindowsmacOS | source | 9ffff3fa6e8b… |