euv-cli 0.50.0

Cross-platform CLI tool for the euv native UI framework supporting run, build, check, fmt, doctor, new, and Hyperlane SSE dynamic updates across all supported platforms.
Documentation
#ifndef EUV_WATCH_BRIDGE_H
#define EUV_WATCH_BRIDGE_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct EuvWatchOsHost EuvWatchOsHost;

EuvWatchOsHost *euv_watchos_create(uint32_t logical_w, uint32_t logical_h, float scale);
void euv_watchos_destroy(EuvWatchOsHost *ptr);
void euv_watchos_resize(EuvWatchOsHost *ptr, uint32_t logical_w, uint32_t logical_h, float scale);
int32_t euv_watchos_step(EuvWatchOsHost *ptr, float dt_secs, int32_t force);
const uint8_t *euv_watchos_framebuffer_ptr(const EuvWatchOsHost *ptr);
uint32_t euv_watchos_framebuffer_width(const EuvWatchOsHost *ptr);
uint32_t euv_watchos_framebuffer_height(const EuvWatchOsHost *ptr);
void euv_watchos_touch(EuvWatchOsHost *ptr, int32_t phase, int32_t pointer_id, float logical_x, float logical_y);
void euv_watchos_crown(EuvWatchOsHost *ptr, float detents);
void euv_watchos_ambient(EuvWatchOsHost *ptr, int32_t is_ambient);
void euv_watchos_lifecycle(EuvWatchOsHost *ptr, int32_t tag);
void euv_watchos_device_motion(EuvWatchOsHost *ptr, float ax, float ay, float az, float gx, float gy, float gz);

#ifdef __cplusplus
}
#endif

#endif