first try to draw first logo

This commit is contained in:
Lurs
2026-02-20 21:13:50 +01:00
parent 8020eb64ba
commit a41c3d59b4
26 changed files with 517 additions and 65 deletions
+7
View File
@@ -8,6 +8,7 @@
#include "f_pc/f_pc_leaf.h"
#include "f_pc/f_pc_node.h"
#include "f_pc/f_pc_pause.h"
#include <cstdio>
int fpcDw_Execute(base_process_class* i_proc) {
if (!fpcPause_IsEnable(i_proc, 2)) {
@@ -32,9 +33,15 @@ int fpcDw_Execute(base_process_class* i_proc) {
}
int fpcDw_Handler(fpcDw_HandlerFuncFunc i_iterHandler, fpcDw_HandlerFunc i_func) {
static int sDwLogCount = 0;
int ret;
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: before BeforeOfDraw\n"); fflush(stdout); }
cAPIGph_BeforeOfDraw();
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: before draw iteration\n"); fflush(stdout); }
ret = i_iterHandler(i_func);
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: before AfterOfDraw\n"); fflush(stdout); }
cAPIGph_AfterOfDraw();
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: done\n"); fflush(stdout); }
sDwLogCount++;
return ret;
}