| 74 | } |
| 75 | |
| 76 | type FormBase struct { |
| 77 | WindowBase |
| 78 | clientComposite *Composite |
| 79 | owner Form |
| 80 | stopwatch *stopwatch |
| 81 | inProgressEventCount int |
| 82 | performLayout chan ContainerLayoutItem |
| 83 | layoutResults chan []LayoutResult |
| 84 | inSizeLoop chan bool |
| 85 | updateStopwatch chan *stopwatch |
| 86 | quitLayoutPerformer chan struct{} |
| 87 | closingPublisher CloseEventPublisher |
| 88 | activatingPublisher EventPublisher |
| 89 | deactivatingPublisher EventPublisher |
| 90 | startingPublisher EventPublisher |
| 91 | titleChangedPublisher EventPublisher |
| 92 | iconChangedPublisher EventPublisher |
| 93 | progressIndicator *ProgressIndicator |
| 94 | icon Image |
| 95 | prevFocusHWnd win.HWND |
| 96 | proposedSize Size // in native pixels |
| 97 | closeReason CloseReason |
| 98 | inSizingLoop bool |
| 99 | startingLayoutViaSizingLoop bool |
| 100 | isInRestoreState bool |
| 101 | started bool |
| 102 | layoutScheduled bool |
| 103 | } |
| 104 | |
| 105 | func (fb *FormBase) init(form Form) error { |
| 106 | var err error |
nothing calls this directly
no outgoing calls
no test coverage detected