Skip to content

Commit 6ee7cb1

Browse files
fix type name of one variable (xPicture)
1 parent 08e783c commit 6ee7cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Widgets/Button.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ extern "C" {
3535

3636
typedef struct xButtonProps_struct {
3737
bool bEmulatePressure;
38-
unsigned short const* pusPicDisabled;
38+
xPicture pusPicDisabled;
3939
} xButtonProps;
4040

4141
xButton * pxButtonCreate(uint16_t usX, uint16_t usY, xPicture pusPic, xWidget *pxWidParent);
42-
bool bButtonSetPushPic(xButton *pxW, xPicture pusPic);
42+
bool bButtonSetPushPic(xButton *pxW, xPicture pusPic); // TODO: don't work
4343
inline void bButtonSetOnClickHandler(xWidget *pxW, bool(*pxCallback)(xWidget *)) {
4444
vWidgetSetOnClickHandler(pxW, pxCallback);
4545
}

0 commit comments

Comments
 (0)