bro
This commit is contained in:
1 parent
de41a02749
commit
9af09cebd3
764 files changed
+54218
-78859
No files matched your search
@@ -1,13 +1,13 @@
|
||||
from collections.abc import Iterator
|
||||
from typing import Any, Literal, TypeAlias, overload
|
||||
from typing import Any, Iterator, Sequence, Tuple, Union, overload
|
||||
|
||||
from pygame.surface import Surface
|
||||
from pygame.typing import FileLike, IntPoint, SequenceLike
|
||||
|
||||
_SmallString: TypeAlias = tuple[
|
||||
from ._common import FileArg, Literal
|
||||
|
||||
_Small_string = Tuple[
|
||||
str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str
|
||||
]
|
||||
_BigString: TypeAlias = tuple[
|
||||
_Big_string = Tuple[
|
||||
str,
|
||||
str,
|
||||
str,
|
||||
@@ -40,21 +40,21 @@ broken_x: Cursor
|
||||
tri_left: Cursor
|
||||
tri_right: Cursor
|
||||
ball: Cursor
|
||||
thickarrow_strings: _BigString
|
||||
sizer_x_strings: _SmallString
|
||||
sizer_y_strings: _BigString
|
||||
sizer_xy_strings: _SmallString
|
||||
textmarker_strings: _SmallString
|
||||
thickarrow_strings: _Big_string
|
||||
sizer_x_strings: _Small_string
|
||||
sizer_y_strings: _Big_string
|
||||
sizer_xy_strings: _Small_string
|
||||
textmarker_strings: _Small_string
|
||||
|
||||
def compile(
|
||||
strings: SequenceLike[str],
|
||||
strings: Sequence[str],
|
||||
black: str = "X",
|
||||
white: str = ".",
|
||||
xor: str = "o",
|
||||
) -> tuple[tuple[int, ...], tuple[int, ...]]: ...
|
||||
) -> Tuple[Tuple[int, ...], Tuple[int, ...]]: ...
|
||||
def load_xbm(
|
||||
curs: FileLike, mask: FileLike
|
||||
) -> tuple[tuple[int, int], tuple[int, int], tuple[int, ...], tuple[int, ...]]: ...
|
||||
curs: FileArg, mask: FileArg
|
||||
) -> Tuple[Tuple[int, int], Tuple[int, int], Tuple[int, ...], Tuple[int, ...]]: ...
|
||||
|
||||
class Cursor:
|
||||
@overload
|
||||
@@ -64,26 +64,28 @@ class Cursor:
|
||||
@overload
|
||||
def __init__(
|
||||
self,
|
||||
size: IntPoint,
|
||||
hotspot: IntPoint,
|
||||
xormasks: SequenceLike[int],
|
||||
andmasks: SequenceLike[int],
|
||||
size: Union[Tuple[int, int], Sequence[int]],
|
||||
hotspot: Union[Tuple[int, int], Sequence[int]],
|
||||
xormasks: Sequence[int],
|
||||
andmasks: Sequence[int],
|
||||
) -> None: ...
|
||||
@overload
|
||||
def __init__(
|
||||
self,
|
||||
hotspot: IntPoint,
|
||||
hotspot: Union[Tuple[int, int], Sequence[int]],
|
||||
surface: Surface,
|
||||
) -> None: ...
|
||||
def __iter__(self) -> Iterator[Any]: ...
|
||||
def __len__(self) -> int: ...
|
||||
def __copy__(self) -> Cursor: ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __getitem__(self, index: int) -> int | IntPoint | Surface: ...
|
||||
def copy(self) -> Cursor: ...
|
||||
def __getitem__(
|
||||
self, index: int
|
||||
) -> Union[int, Tuple[int, int], Sequence[int], Surface]: ...
|
||||
copy = __copy__
|
||||
type: Literal["system", "color", "bitmap"]
|
||||
data: (
|
||||
tuple[int]
|
||||
| tuple[tuple[int, int], tuple[int, int], tuple[int, ...], tuple[int, ...]]
|
||||
| tuple[IntPoint, Surface]
|
||||
)
|
||||
data: Union[
|
||||
Tuple[int],
|
||||
Tuple[Tuple[int, int], Tuple[int, int], Tuple[int, ...], Tuple[int, ...]],
|
||||
Tuple[Union[Tuple[int, int], Sequence[int]], Surface],
|
||||
]
|
||||
Reference in new issue
Block a user