Files
dusklight/include/d/d_kantera_icon_meter.h
T
gymnast86 172d06f38d Add Built-In Cosmetics Mod (#2291)
* template setup

* get most colors working

* add lantern, midna, and heart colors

* fix PaneCache naming conflict

* add UI colors

* fix pane cache again

* override colors for items on other models

* recolor heart piece models

* cleanup

* add support for ordon sword recoloring

* recolor epona's eyelids

* move option descriptions

* fix mod.json

* constexpr descriptions

* gx.h instead of dolphin/gx/GXstruct.h

* fix default midna hair color

* use TextureService instead of overwriting model file data on load

* update descriptions

* manual cleanup

* fix includes

* remove unneeded include and const qualifier

* UI: Add Popover, ColorInput & more; mod cleanup

* Make it a bundled mod

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-08-20 17:49:26 -06:00

40 lines
835 B
C++

#ifndef D_D_KANTERA_ICON_METER_H
#define D_D_KANTERA_ICON_METER_H
#include "d/d_drawlist.h"
class CPaneMgr;
class dDlst_KanteraIcon_c : public dDlst_base_c {
public:
virtual void draw();
virtual ~dDlst_KanteraIcon_c();
void setScreen(J2DScreen* screen) { mp_scrn = screen; }
J2DScreen* getScreen() { return mp_scrn; }
private:
/* 0x04 */ J2DScreen* mp_scrn;
};
class dKantera_icon_c {
public:
dKantera_icon_c();
void initiate();
void setAlphaRate(f32);
void setPos(f32, f32);
void setScale(f32, f32);
void setNowGauge(u16, u16);
virtual ~dKantera_icon_c();
void drawSelf() { mpKanteraIcon->draw(); }
// private:
/* 0x04 */ dDlst_KanteraIcon_c* mpKanteraIcon;
/* 0x08 */ CPaneMgr* mpParent;
/* 0x0C */ CPaneMgr* mpGauge;
};
#endif /* D_D_KANTERA_ICON_METER_H */