Problem mit Mausanzeige bei SDL Vollbildschirm



  • ICh probiere gerade ein Programm mit SDL zu programmieren.
    Ich will eine Maus verwenden.
    Das problem:
    Im Vollbildschimmodus zeigt er mir keine an
    Muss ich irgendeinen befehl einbauen?
    Bitte schreibt falls ihr cod braucht.
    Der einzige code den ich dafür reingemacht habe ist derhier:

    cursor = SDL_CreateCursor (Daten, Maske, 8, 8, 4, 4); 
    SDL_SetCursor (cursor);  
     SDL_ShowCursor (1); 
       SDL_Cursor *cursor; 
       Uint8 Daten[8] = {0, 0, 0, 0, 0, 0, 0, 0}; 
       Uint8 Maske[8] = 
         { 
           0x81, /*10000001*/ 
           0x42, /*01000010*/ 
           0x24, /*00100100*/ 
           0x18, /*00011000*/ 
           0x18, /*00011000*/ 
           0x24, /*00100100*/ 
           0x42, /*01000010*/ 
           0x81  /*10000001*/ 
         }; 
       cursor = SDL_CreateCursor (Daten, Maske, 8, 8, 4, 4); 
       SDL_SetCursor (cursor);
    

    Danke im voraus
    greece57


Anmelden zum Antworten