Logo Search packages:      
Sourcecode: vdr-plugin-sudoku version File versions  Download package

void Menu::Show (  )  [virtual]

Display the menu on the OSD.

Definition at line 66 of file menu.cpp.

References paint().

{
  int x1 = xPos,                 y1 = yPos;
  int x2 = xPos + GRID_SIZE - 1, y2 = yPos + GRID_SIZE -1;

  osd = cOsdProvider::NewOsd(0, 0);
  if (osd)
  {
    tArea areas[] = { x1, y1, x2, y2, 4 };
    osd->SetAreas(areas, 1);
    paint();
  }
}


Generated by  Doxygen 1.6.0   Back to index