- [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:
@@ -83,6 +83,14 @@ namespace backend
|
||||
return current_state;
|
||||
}
|
||||
|
||||
char *clipboard() {
|
||||
return SDL_GetClipboardText();
|
||||
}
|
||||
|
||||
void clipboard(const char* value) {
|
||||
SDL_SetClipboardText(value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user