| 40 | |
| 41 | |
| 42 | class CustomFrame: |
| 43 | def __init__(self, name, frame, thread_id): |
| 44 | # 0 = string with the representation of that frame |
| 45 | self.name = name |
| 46 | |
| 47 | # 1 = the frame to show |
| 48 | self.frame = frame |
| 49 | |
| 50 | # 2 = an integer identifying the last time the frame was changed. |
| 51 | self.mod_time = 0 |
| 52 | |
| 53 | # 3 = the thread id of the given frame |
| 54 | self.thread_id = thread_id |
| 55 | |
| 56 | |
| 57 | def add_custom_frame(frame, name, thread_id): |