src/video/qtopia/SDL_sysvideo.cc
branchSDL-1.2
changeset 3849 49ed2682da54
parent 1545 8d9bb0cf2c2a
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
3848:4de14c915f4c 3849:49ed2682da54
   225 	       desktop_size.width(), desktop_size.height());
   225 	       desktop_size.width(), desktop_size.height());
   226     QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1,
   226     QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1,
   227 	       desktop_size.height(), desktop_size.width());
   227 	       desktop_size.height(), desktop_size.width());
   228 
   228 
   229     /* Determine the current screen size */
   229     /* Determine the current screen size */
   230     this->info.current_w = desktop_size.width();
   230     _this->info.current_w = desktop_size.width();
   231     this->info.current_h = desktop_size.height();
   231     _this->info.current_h = desktop_size.height();
   232 
   232 
   233     /* Create the window / widget */
   233     /* Create the window / widget */
   234     SDL_Win = new SDL_QWin(QSize(QT_HIDDEN_SIZE, QT_HIDDEN_SIZE));
   234     SDL_Win = new SDL_QWin(QSize(QT_HIDDEN_SIZE, QT_HIDDEN_SIZE));
   235     ((QPEApplication*)qApp)->showMainWidget(SDL_Win);
   235     ((QPEApplication*)qApp)->showMainWidget(SDL_Win);
   236     /* Fill in some window manager capabilities */
   236     /* Fill in some window manager capabilities */