Files
TakaRikka 5867eaf68b general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug (#3065)
* typedef for cPhs_Step

* make sdk includes consistent

* d_menu_quit / d_msg_scrn_explain debug

* d_a_obj_testcube mostly done

* d_debug_pad mostly done

* jstudio tool library headers

* some JStudioCameraEditor headers

* d_jcam_editor mostly done

* try fixing some shield regressions

* d_bg_parts mostly done

* fix merge errors

* debug fix
2026-01-24 23:36:23 -08:00

50 lines
1.4 KiB
C++

#ifndef JSTUDIOTOOLLIBRARY_SCROLL_H
#define JSTUDIOTOOLLIBRARY_SCROLL_H
#include "JSystem/JStudio/JStudioToolLibrary/visual.h"
namespace JStudioToolLibrary {
struct TScroll {
TScroll();
virtual ~TScroll();
int getStride() const;
int getValue() const;
int getMin() const;
int getMax() const;
void setStride(int);
void setValue_scroll(int);
void setValue(int);
void setRange(int, int);
void setValue_range_(int, int, int);
/* 0x04 */ int iValue_;
/* 0x08 */ int iMin_;
/* 0x0C */ int iMax_;
/* 0x10 */ int field_0x10;
/* 0x14 */ int iStride_;
};
struct TScroll_drawBar : public TScroll {
void setRectangle(int, int, int, int);
TRectangle& getRectangle() const;
JUtility::TColor& getColor_disabled() const;
JUtility::TColor& getColor_background() const;
JUtility::TColor& getColor_foreground() const;
JUtility::TColor& getColor_frame() const;
/* 0x18 */ TRectangle oRectangle_;
/* 0x28 */ JUtility::TColor oColorFrame_;
/* 0x2C */ JUtility::TColor oColorBackground_;
/* 0x30 */ JUtility::TColor oColorForeground_;
/* 0x34 */ JUtility::TColor oColorDisabled_;
};
struct TScroll_drawBar_horizontal : public TScroll_drawBar {
virtual ~TScroll_drawBar_horizontal();
virtual void draw(TDrawPrimitive2D*) const;
};
}
#endif