add tweaks
This commit is contained in:
@@ -24,18 +24,19 @@
|
||||
// #include "render/backup_font.c"
|
||||
#include "render/font.c"
|
||||
#include "render/render_opengl.c"
|
||||
|
||||
#include "wasm_app.gen.c"
|
||||
|
||||
#include "ui_iter.c"
|
||||
#include "ui.c"
|
||||
|
||||
#define mt_embed_file(variable, path)
|
||||
|
||||
fn void app_init(f32 dpr) {
|
||||
ma_arena_t *perm = &tcx._perm;
|
||||
mt_embed_file(font_liberation_mono, "package/liberation-mono.ttf");
|
||||
rn_init(perm, s8_array(font_liberation_mono), 50 * dpr);
|
||||
ui_demo_init(perm);
|
||||
mt_tweak_b32(memes, true);
|
||||
mt_tweak_f32(scrollasdasd, 32.0f, 0, 100.f);
|
||||
}
|
||||
|
||||
fn b32 app_update(app_frame_t *frame) {
|
||||
|
||||
Reference in New Issue
Block a user