()
| 340 | } |
| 341 | |
| 342 | function ngmn_GetScreenRect() |
| 343 | { |
| 344 | var rect={ Left: 0, Top: 0, Right: 0, Bottom: 0 }; |
| 345 | |
| 346 | var wo=(ngApp ? ngApp.Elm() : null); |
| 347 | if(wo) |
| 348 | { |
| 349 | rect.Right=ng_ClientWidth(wo); |
| 350 | rect.Bottom=ng_ClientHeight(wo); |
| 351 | } |
| 352 | else |
| 353 | { |
| 354 | rect.Right=ng_WindowWidth(); |
| 355 | rect.Bottom=ng_WindowHeight(); |
| 356 | } |
| 357 | if(this.OnGetScreenRect) this.OnGetScreenRect(this,rect); |
| 358 | return rect; |
| 359 | } |
| 360 | |
| 361 | function ngmn_IsInsidePopup(t,intype,e) |
| 362 | { |
nothing calls this directly
no test coverage detected