Maximized minimap should conserve proportions

Maximized minimap should conserve proportions

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Maximized minimap should conserve proportions

Post by BlueTemplar »

Or at least fill all the available screen space. Most people have widescreens now and it's annoying to have all those empty borders on the sides, especially when the map itself is not square.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Maximized minimap should conserve proportions

Post by TradeMark »

Hmm, you are right, it doesnt remain the aspect ratio :shock:
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Maximized minimap should conserve proportions

Post by trepan »

/minimap maxspect -- iirc

Also ... read the tooltips

Code: Select all

std::string CMiniMap::GetTooltip(int x, int y)
{
  if (minimized) {
    return "Unminimize map";
  }
   
  if (buttonBox.Inside(x, y)) {
    if (resizeBox.Inside(x, y)) {
      return "Resize map\n(SHIFT to maintain aspect ratio)";
    }
    if (moveBox.Inside(x, y)) {
      return "Move map";
    }
    if (maximizeBox.Inside(x, y)) {
      if (!maximized) {
        return "Maximize map\n(SHIFT to maintain aspect ratio)";
      } else {
        return "Unmaximize map";
      }
    }  
    if (minimizeBox.Inside(x, y)) {
      return "Minimize map";
    }
  }
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Maximized minimap should conserve proportions

Post by TradeMark »

oh it works like that in the maximize button too... didnt know o.o
Post Reply

Return to “Feature Requests”