mirror of
https://github.com/wiiu-env/homebrew_launcher.git
synced 2024-11-24 05:39:18 +01:00
added and bumped version string on main view
This commit is contained in:
parent
3a574c3b0a
commit
e720a44613
@ -7,7 +7,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include "os_defs.h"
|
#include "os_defs.h"
|
||||||
|
|
||||||
#define HBL_VERSION "v0.1"
|
#define HBL_VERSION "v1.2"
|
||||||
|
|
||||||
#define CAFE_OS_SD_PATH "/vol/external01"
|
#define CAFE_OS_SD_PATH "/vol/external01"
|
||||||
#define SD_PATH "sd:"
|
#define SD_PATH "sd:"
|
||||||
|
@ -37,6 +37,7 @@ HomebrewWindow::HomebrewWindow(int w, int h)
|
|||||||
, arrowLeftImage(arrowLeftImageData)
|
, arrowLeftImage(arrowLeftImageData)
|
||||||
, arrowRightButton(arrowRightImage.getWidth(), arrowRightImage.getHeight())
|
, arrowRightButton(arrowRightImage.getWidth(), arrowRightImage.getHeight())
|
||||||
, arrowLeftButton(arrowLeftImage.getWidth(), arrowLeftImage.getHeight())
|
, arrowLeftButton(arrowLeftImage.getWidth(), arrowLeftImage.getHeight())
|
||||||
|
, hblVersionText("Homebrew Launcher " HBL_VERSION " by Dimok", 32, glm::vec4(1.0f))
|
||||||
, touchTrigger(GuiTrigger::CHANNEL_1, GuiTrigger::VPAD_TOUCH)
|
, touchTrigger(GuiTrigger::CHANNEL_1, GuiTrigger::VPAD_TOUCH)
|
||||||
, wpadTouchTrigger(GuiTrigger::CHANNEL_2 | GuiTrigger::CHANNEL_3 | GuiTrigger::CHANNEL_4 | GuiTrigger::CHANNEL_5, GuiTrigger::BUTTON_A)
|
, wpadTouchTrigger(GuiTrigger::CHANNEL_2 | GuiTrigger::CHANNEL_3 | GuiTrigger::CHANNEL_4 | GuiTrigger::CHANNEL_5, GuiTrigger::BUTTON_A)
|
||||||
, buttonLTrigger(GuiTrigger::CHANNEL_ALL, GuiTrigger::BUTTON_L | GuiTrigger::BUTTON_LEFT, true)
|
, buttonLTrigger(GuiTrigger::CHANNEL_ALL, GuiTrigger::BUTTON_L | GuiTrigger::BUTTON_LEFT, true)
|
||||||
@ -158,6 +159,10 @@ HomebrewWindow::HomebrewWindow(int w, int h)
|
|||||||
arrowRightButton.clicked.connect(this, &HomebrewWindow::OnRightArrowClick);
|
arrowRightButton.clicked.connect(this, &HomebrewWindow::OnRightArrowClick);
|
||||||
append(&arrowRightButton);
|
append(&arrowRightButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hblVersionText.setAlignment(ALIGN_BOTTOM | ALIGN_RIGHT);
|
||||||
|
hblVersionText.setPosition(-30, 30);
|
||||||
|
append(&hblVersionText);
|
||||||
}
|
}
|
||||||
|
|
||||||
HomebrewWindow::~HomebrewWindow()
|
HomebrewWindow::~HomebrewWindow()
|
||||||
|
@ -50,6 +50,7 @@ private:
|
|||||||
GuiImage arrowLeftImage;
|
GuiImage arrowLeftImage;
|
||||||
GuiButton arrowRightButton;
|
GuiButton arrowRightButton;
|
||||||
GuiButton arrowLeftButton;
|
GuiButton arrowLeftButton;
|
||||||
|
GuiText hblVersionText;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user