launchiine/src/gui/GuiIconGrid.cpp

54 lines
1.5 KiB
C++

/****************************************************************************
* Copyright (C) 2015 Dimok
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/
#include <gui/GuiIconGrid.h>
#include <gui/GuiController.h>
#include "common/common.h"
#include "Application.h"
#include <gui/video/CVideo.h>
GuiIconGrid::GuiIconGrid(int32_t w, int32_t h, int32_t GameIndex)
: GuiTitleBrowser(w, h, GameIndex),
particleBgImage(w, h, 50, 60.0f, 90.0f, 0.6f, 1.0f) {
append(&particleBgImage);
}
GuiIconGrid::~GuiIconGrid() {
}
void GuiIconGrid::setSelectedGame(int32_t idx) {
this->selectedGame = idx;
}
int32_t GuiIconGrid::getSelectedGame(void) {
return selectedGame;
}
void GuiIconGrid::process() {
GuiFrame::process();
}
void GuiIconGrid::update(GuiController * c) {
GuiFrame::update(c);
}
void GuiIconGrid::draw(CVideo *pVideo) {
GuiFrame::draw(pVideo);
}