delete commented-out code that looks platform-specific & outdated

This commit is contained in:
2025-05-17 17:45:27 -05:00
parent 3319a4ec53
commit 61fe06a66d

View File

@@ -1748,32 +1748,4 @@ void redraw_partial_terrain(rectangle redraw_rect) {
rect_draw_some_item(terrain_screen_gworld().getTexture(),from_rect,mainPtr(),redraw_rect);
}
/*
void HideShowMenuBar( ) {
GDHandle mainScreen;
// store current gray region that displays
// menu bar and the current height of the menu bar
originalGrayRgn = LMGetGrayRgn();
menuBarHeight = LMGetMBarHeight();
// calculate the rect of the menu bar to test
// if mouse down is in if desired
mainScreen = GetMainDevice();
menuBarRect = (**mainScreen).gdRect;
menuBarRect.bottom = menuBarHeight;
HideMenuBar();
while( !Button() );
ShowMenuBar();
// restore the original gray region to
// make the menu bar visible
LMSetGrayRgn( originalGrayRgn );
}
*/
}