v3.0.4: eigene Werkzeug-Seite, Logs der MBMNET-Server (HTTPS mit MBMNET-CA), Admin nur mit signiertem Nachweis vom Server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
718c605f6d
commit
d1f5f5add3
+26
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <citro2d.h>
|
||||
|
||||
// Zeichenhilfen und Farben der MBMNET-App (umgesetzt in main.c), auch für logview.c
|
||||
#define TOP_W 400
|
||||
#define BOT_W 320
|
||||
#define SCR_H 240
|
||||
|
||||
#define COL_RED C2D_Color32(0xE4, 0x00, 0x2B, 0xFF)
|
||||
#define COL_RED_DARK C2D_Color32(0x9E, 0x00, 0x1E, 0xFF)
|
||||
#define COL_BG C2D_Color32(0x16, 0x19, 0x1F, 0xFF)
|
||||
#define COL_BG2 C2D_Color32(0x22, 0x26, 0x2E, 0xFF)
|
||||
#define COL_CARD C2D_Color32(0x2A, 0x2F, 0x39, 0xFF)
|
||||
#define COL_CARD_HI C2D_Color32(0x3A, 0x41, 0x4E, 0xFF)
|
||||
#define COL_WHITE C2D_Color32(0xFF, 0xFF, 0xFF, 0xFF)
|
||||
#define COL_MUTED C2D_Color32(0x9A, 0xA3, 0xAF, 0xFF)
|
||||
#define COL_GREEN C2D_Color32(0x22, 0xC5, 0x5E, 0xFF)
|
||||
#define COL_AMBER C2D_Color32(0xF5, 0x9E, 0x0B, 0xFF)
|
||||
#define COL_NINTENDO C2D_Color32(0xE6, 0x00, 0x12, 0xFF)
|
||||
|
||||
void ui_text(const char *s, float x, float y, float size, u32 color, u32 flags);
|
||||
void ui_text_wrap(const char *s, float x, float y, float size, u32 color, float width);
|
||||
float ui_text_width(const char *s, float size);
|
||||
// Text auf eine Breite kürzen ("...")
|
||||
void ui_fit(char *out, size_t len, const char *s, float size, float width);
|
||||
void ui_round_rect(float x, float y, float w, float h, float r, u32 color);
|
||||
Reference in New Issue
Block a user