This commit is contained in:
Waylon Walker 2022-03-31 20:20:07 -05:00
commit 38355d2442
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
9083 changed files with 1225834 additions and 0 deletions

View file

@ -0,0 +1,86 @@
from typing import Iterator, List, Tuple, Sequence, Iterable, Union, overload
from pygame.surface import Surface
_Small_string = Tuple[
str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str
]
_Big_string = Tuple[
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
str,
]
arrow: Cursor
diamond: Cursor
broken_x: Cursor
tri_left: Cursor
tri_right: Cursor
thickarrow_strings: _Big_string
sizer_x_strings: _Small_string
sizer_y_strings: _Big_string
sizer_xy_strings: _Small_string
def compile(
strings: Sequence[str],
black: str = "X",
white: str = ".",
xor: str = "o",
) -> Tuple[Sequence[int], Sequence[int]]: ...
def load_xbm(
cursorfile: str, maskfile: str
) -> Tuple[List[int], List[int], Tuple[int, ...], Tuple[int, ...]]: ...
class Cursor(Iterable[object]):
@overload
def __init__(self, constant: int = ...) -> None: ...
@overload
def __init__(self, cursor: Cursor) -> None: ...
@overload
def __init__(
self,
size: Union[Tuple[int, int], List[int]],
hotspot: Union[Tuple[int, int], List[int]],
xormasks: Sequence[int],
andmasks: Sequence[int],
) -> None: ...
@overload
def __init__(
self,
hotspot: Union[Tuple[int, int], List[int]],
surface: Surface,
) -> None: ...
def __iter__(self) -> Iterator[object]: ...
def __len__(self) -> int: ...
type: str
data: Union[
Tuple[int],
Tuple[
Union[Tuple[int, int], List[int]],
Union[Tuple[int, int], List[int]],
Sequence[int],
Sequence[int],
],
Tuple[int, Surface],
]