Amiga: make INTUI_NEW_LOOK unconditional

OS 2.0+ Intuition is required; the pre-2.0 fallback paths are unreachable.
This commit is contained in:
Ingo Paschke
2026-05-11 20:29:47 +02:00
parent f0b6ddc6f8
commit 7b67da20b7
7 changed files with 9 additions and 135 deletions
-4
View File
@@ -271,11 +271,9 @@ DoMenuScroll(int win, int blocking, int how, menu_item **retmip)
topidx = 0;
if (w == NULL) {
#ifdef INTUI_NEW_LOOK
if (IntuitionBase->LibNode.lib_Version >= 37) {
PropScroll.Flags |= PROPNEWLOOK;
}
#endif
nw = (void *) DupNewWindow((void *) (&new_wins[cw->type].newwin));
if (!alwaysinvent || win != WIN_INVEN) {
xsize = scrn->WBorLeft + scrn->WBorRight + MenuScroll.Width + 1
@@ -1415,11 +1413,9 @@ SetPropInfo(struct Window *win, struct Gadget *gad, long vis, long total, long t
pot = 0;
mflags = AUTOKNOB | FREEVERT;
#ifdef INTUI_NEW_LOOK
if (IntuitionBase->LibNode.lib_Version >= 37) {
mflags |= PROPNEWLOOK;
}
#endif
NewModifyProp(gad, win, NULL, mflags, 0, pot, MAXBODY, body, 1);
}