mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 00:56:55 +02:00
Initial commit
This commit is contained in:
23
arm9/source/romBrowser/views/IconButton3DView.h
Normal file
23
arm9/source/romBrowser/views/IconButton3DView.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include "IconButtonView.h"
|
||||
#include "core/math/Rgb.h"
|
||||
#include "gui/Rgb6Palette.h"
|
||||
|
||||
class IconButton3DView : public IconButtonView
|
||||
{
|
||||
public:
|
||||
IconButton3DView() : IconButtonView() { }
|
||||
|
||||
IconButton3DView(Type type, State state,
|
||||
md::sys::color backgroundColor, const MaterialColorScheme* materialColorScheme)
|
||||
: IconButtonView(type, state, backgroundColor, materialColorScheme) { }
|
||||
|
||||
void Draw(GraphicsContext& graphicsContext) override;
|
||||
|
||||
static void UploadGraphics(const VramContext& vramContext);
|
||||
|
||||
private:
|
||||
static u32 sSelectorTextureVramOffset;
|
||||
|
||||
void DrawSelector(GraphicsContext& graphicsContext, const Rgb<8, 8, 8>& color);
|
||||
};
|
||||
Reference in New Issue
Block a user