1

add overloads for bse::string

This commit is contained in:
2022-07-24 00:08:22 +02:00
parent 4aa6d089ca
commit 520445b66e
10 changed files with 84 additions and 48 deletions

View File

@ -95,7 +95,7 @@ void CGA::show(unsigned int x, unsigned int y, char character, unsigned char att
* n Laenger der Zeichenkette *
* attrib Attributbyte fuer alle Zeichen der Zeichenkette *
*****************************************************************************/
void CGA::print(char* string, unsigned int n, unsigned char attrib) {
void CGA::print(const char* string, unsigned int n, unsigned char attrib) {
/* Hier muess Code eingefuegt werden */
@ -142,6 +142,10 @@ void CGA::print(char* string, unsigned int n, unsigned char attrib) {
setpos(cursor_x, cursor_y);
}
void CGA::print(const bse::string& string, unsigned int n, unsigned char attrib) {
print((const char*)string, n, attrib);
}
/*****************************************************************************
* Methode: CGA::scrollup *
*---------------------------------------------------------------------------*