TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
644 B

<?php
/** Thin wrappers around the macOS AppKit API. */
function ui_app_init(string $applicationName): void {}
function ui_create_window(string $title, int $width, int $height): void {}
function ui_add_label(
string $text,
int $x,
int $y,
int $width,
int $height,
int $fontSize,
bool $bold
): int {}
function ui_add_button(string $title, int $x, int $y, int $width, int $height, int $style): int {}
function ui_set_control_text(int $controlId, string $text): void {}
function ui_show_window(): void {}
/** Return the activated control ID, or -1 after the window is closed. */
function ui_next_event(): int {}