Definition at line 327 of file Window.h. References Impala::CmdOptions::GetDouble(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), and SuggestWndWidth(). Referenced by SuggestWndWidth(). 00328 { 00329 CmdOptions& options = CmdOptions::GetInstance(); 00330 int reqWndWidth = options.GetInt("wndWidth"); 00331 if (reqWndWidth != -1) 00332 return reqWndWidth; 00333 double viewScale = options.GetDouble("viewScale"); 00334 return nrView * (viewScale * imageWidth + 5); 00335 }
Here is the call graph for this function:
|