(self)
| 108 | } |
| 109 | |
| 110 | def __init__(self): |
| 111 | self._initialized = False |
| 112 | self._rotation = 0 |
| 113 | self._w = 222 |
| 114 | self._h = 480 |
| 115 | self._brightness = 80 |
| 116 | self._start_ticks = 0 |
| 117 | |
| 118 | # Back buffer (drawn to, then flipped) |
| 119 | self._surface = None |
| 120 | self._screen = None |
| 121 | |
| 122 | # Thread-safe input event queue |
| 123 | self._event_queue = collections.deque(maxlen=64) |
| 124 | self._event_lock = threading.Lock() |
| 125 | self._held_buttons = 0 |
| 126 | |
| 127 | # Font cache |
| 128 | self._font_cache = {} |
| 129 | |
| 130 | # Image cache |
| 131 | self._image_cache = {} |
| 132 | |
| 133 | def _setup_functions(self): |
| 134 | """Compatibility stub - real pagerctl sets up ctypes here.""" |
nothing calls this directly
no outgoing calls
no test coverage detected