Definition at line 338 of file Window.h. References Impala::CmdOptions::GetDouble(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), and SuggestWndHeight(). Referenced by SuggestWndHeight(). 00339 { 00340 CmdOptions& options = CmdOptions::GetInstance(); 00341 int reqWndHeight = options.GetInt("wndHeight"); 00342 if (reqWndHeight != -1) 00343 return reqWndHeight; 00344 double viewScale = options.GetDouble("viewScale"); 00345 return nrView * (viewScale * imageHeight + 5); 00346 }
Here is the call graph for this function:
|