- [NEW] Afegit clipboard al backend

- [NEW] surfaces ara usa un vector dinàmic
- [FIX] Ajustades dereferenciacions per a arreglar la caiguda de rendiment
This commit is contained in:
2026-04-17 06:52:31 +02:00
parent 52d2fcf0d3
commit 9c4c94093c
10 changed files with 129 additions and 101 deletions

View File

@@ -83,6 +83,14 @@ namespace backend
return current_state;
}
char *clipboard() {
return SDL_GetClipboardText();
}
void clipboard(const char* value) {
SDL_SetClipboardText(value);
}
}
#endif