
    ը	f                     8    d dl Z d dlmZ d Zedk(  r e        yy)    Nc                     t        j                         \  } }dd l}ddlm}  |        ddlm} ddlm} ddl	m
} ddlm} |j                  ddd	
      }|dk(  rdt        j                  d<   ndt        j                  d<   | d   }	| d   }
| d   }|	|
fD ]B  }|st        j                   |      }|d   r"t        j"                  t%        d      |z         D |j'                         }|j)                  d |j*                  t%        d            } || |             }|	r|j-                  |	       |
r|j/                  |
       |	s|
r|j1                          |j3                  |       |j5                          |j7                          y )Nr   )set_gui_path)UserSettings)StandaloneGrassInterface)	globalvar)SwipeMapDisplaydisplaydrivertype)groupkeysubkeypngGRASS_RENDER_IMMEDIATEcairofirstsecondmode)namer   zRaster map <%s> not foundzMap Swipe Tool - GRASS GIS)parentsizetitle)r   giface)gscriptparserwxgrass.script.setupr   core.settingsr   core.gifacer   corer   mapswipe.framer   Getosenviron	find_filefatal_AppFrameMAP_WINDOW_SIZESetFirstRasterSetSecondRasterSetRasterNamesSetViewModeShowMainLoop)optionsflagsr   r   r   r   r   r   r
   r   r   r   mapNamegfileappframes                   8/usr/lib/grass83/gui/wxpython/mapswipe/g.gui.mapswipe.pymainr8   3   si   ^^%NGU/N*4.I8FKF/4

+,/6

+,GEXF6?D6? H%%73E=a ;<wFG	H &&(C HH&&,-  E
 ')E
 U#f%	d	JJLLLN    __main__)r#   grass.scriptscriptr   r8   __name__ r9   r7   <module>r?      s(   ^ 
 5p zF r9   