Skip to content

Commit

Permalink
Change MU_*_MAX constats to use usize instead of sint
Browse files Browse the repository at this point in the history
  • Loading branch information
ashn-dot-dev committed Oct 30, 2023
1 parent 276a16e commit 1c9c8c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microui.sunder
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let MU_COMMAND_CLIP: sint = 2;
let MU_COMMAND_RECT: sint = 3;
let MU_COMMAND_TEXT: sint = 4;
let MU_COMMAND_ICON: sint = 5;
let MU_COMMAND_MAX: sint = 6;
let MU_COMMAND_MAX: usize = 6;

let MU_COLOR_TEXT: sint = 0;
let MU_COLOR_BORDER: sint = 1;
Expand All @@ -38,13 +38,13 @@ let MU_COLOR_BASEHOVER: sint = 10;
let MU_COLOR_BASEFOCUS: sint = 11;
let MU_COLOR_SCROLLBASE: sint = 12;
let MU_COLOR_SCROLLTHUMB: sint = 13;
let MU_COLOR_MAX: sint = 14;
let MU_COLOR_MAX: usize = 14;

let MU_ICON_CLOSE: sint = 1;
let MU_ICON_CHECK: sint = 2;
let MU_ICON_COLLAPSED: sint = 3;
let MU_ICON_EXPANDED: sint = 4;
let MU_ICON_MAX: sint = 5;
let MU_ICON_MAX: usize = 5;

let MU_RES_ACTIVE = (:sint)(1u << 0);
let MU_RES_SUBMIT = (:sint)(1u << 1);
Expand Down

0 comments on commit 1c9c8c2

Please sign in to comment.