
    
3jj                    ~    S r SSKJr  SSKrSSKJr  SSKJr  SSKJ	r	  SSK
Jr  S/rS	S
/r " S S\5      rSSS jjrg)zHMicrosoft Windows backend dispatcher for MSS screenshot implementations.    )annotationsN)Any)MSS)MSSImplementation)ScreenShotErrorr   defaultgdic                  0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )r      zWDeprecated Microsoft Windows compatibility constructor.

Use :class:`mss.MSS` instead.
c               Z   > [         R                  " S[        SS9  [        TU ]  " S0 UD6  g )NzNmss.windows.MSS is deprecated and will be removed in 11.0; use mss.MSS instead   )
stacklevel )warningswarnDeprecationWarningsuper__init__)selfkwargs	__class__s     N/home/wildlama/miniconda3/lib/python3.13/site-packages/mss/windows/__init__.pyr   MSS.__init__   s*    \	

 	"6"    r   )r   r   returnNone)__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classcell__)r   s   @r   r   r      s    
# #r   c                    U R                  5       n U S;   a  SSKJn  U" S0 UD6$ U [        ;  d   eSU < S3n[	        U5      e)a  Return a backend-specific MSS implementation for Microsoft Windows.

Selects and instantiates the appropriate Windows backend based on the
``backend`` parameter.

:param backend: Backend selector. Valid values:

    - ``"default"`` or ``"gdi"`` (default): GDI-based backend using
      ``BitBlt`` and ``CreateDIBSection`` for direct memory access to pixel
      data.

:param kwargs: Additional keyword arguments passed to the backend class.
:returns: An MSS backend implementation.

.. versionadded:: 10.2.0 Prior to this version, this didn't exist:
      Windows had a single implementation selected through
      :class:`mss.windows.MSS`.
>   r	   r   r   )
MSSImplGdizBackend z not (yet?) implemented.r   )lowermss.windows.gdir%   BACKENDSr   )backendr   r%   msgs       r   choose_implr+   !   sQ    & mmoG$$.#F##("""WK7
8C
#
r   )r   )r)   strr   r   r   r   )r!   
__future__r   r   typingr   mss.baser   _MSSr   mss.exceptionr   __all__r(   r+   r   r   r   <module>r3      s<    N "     & )'u#$ # r   