Panel of a dialog box, whose text and buttons come from the locale and whose box grows with the text.
More...
|
| | DialogPanel (DataArray *pData, const char *pszDir) |
| | Construct the panel from its script description.
|
| | ~DialogPanel () override |
| | Destroy the panel.
|
| void | Enter (bool bForce, float fTime) override |
| | Start the entry, hide the unused rows, and show the text that waits, or the text of the panel's name.
|
| void | FinishLoad () override |
| | Finish loading as the shared dialog objects, focus the focus component, and find the views that size the box.
|
| void | SetText (const char *pszText) |
| | Show a text and size the box for it and the buttons, or store the text for the entry while the panel loads.
|
| | FreqPanel (DataArray *pData, const char *pszDir) |
| | Construct a panel from its script description.
|
| | ~FreqPanel () override |
| | Destroy the panel.
|
| void | Unload () override |
| | Drop a reference to the panel's file, forgetting the meshes and the animation on the last reference.
|
| void | Enter (bool bForce, float fTime) override |
| | Start the entry animation and the entry of the panel material animation.
|
| void | Exit (bool bForce, float fTime) override |
| | Start the exit animation and the exit of the panel material animation.
|
| void | DrawGizmo () override |
| | Stretch the gizmo pyramid from the background mesh to the gizmo and draw it.
|
| void | Poll (float fTime) override |
| | Advance the panel to a time and move the panel animation to the panel's frame.
|
| void | Draw () override |
| | Move the panel material animations to the front-end time and draw the panel.
|
| void | SetShowing (bool bShowing) override |
| | Show or hide the panel's view and the gizmo pyramid.
|
| void | SetFocus (UIComponent *pComponent, int nButton) override |
| | Move the focus to a component and play the sound of the directional button that moved it.
|
| void | FinishLoad () override |
| | Find the meshes and animations of the panel once its file has loaded.
|
| void | ShowGizmoMesh (bool bShowing) |
| | Show or hide the gizmo pyramid.
|
| void | UpdateBgBox () |
| | Measure the background mesh into mBgBox.
|
| | UIPanel (DataArray *pData, const char *pszDir) |
| | Construct a hidden panel from its script description.
|
| | ~UIPanel () override |
| | Destroy the panel, its components, and the objects its file loaded.
|
| bool | Dispatch (Message *pMsg) override |
| | Offer a message to the current screen, the panel, the navigator, and the component with the focus.
|
| bool | DispatchPriv (Message *pMsg) override |
| | Handle a message sent to the panel.
|
| virtual void | Load () |
| | Take a reference to the panel's file, queueing the file on the first reference.
|
| virtual void | Focus () |
| | React to the screen giving the panel the focus by letting the navigator move the focus.
|
| virtual void | Unfocus () |
| | React to the screen taking the focus away.
|
| bool | IsLoaded () |
| | Report whether the panel's file has loaded, finishing the load when it has.
|
| void | AddComponent (UIComponent *pComponent) |
| | Register a component under its name.
|
| void | SetTextsShowing (bool bShowing) |
| | Show or hide every text object of the panel's file.
|
| float | ComputeFrame (float fTime) |
| | Report the frame of the entry and exit animation at a time.
|
| UIComponent * | FindComponent (const char *pszName, bool bFail) |
| | Find a component by name.
|
| void | LocalizeTexts (const char *pszFile, std::list< RndObject * > &objects) |
| | Collect and localise the text objects of the panel's file.
|
| const char * | GetName () const |
| UIComponent * | GetFocus () const |
| int | GetState () const |
| float | GetTransitionStart () const |
| const std::map< const char *, std::unique_ptr< UIComponent >, StrLess > & | GetComponents () const |
| void * | operator new (size_t nSize) |
| | Allocate a sink from the pool heaps under the tag "MsgSink".
|
| void | operator delete (void *pBlock) |
| | Return a sink to the pool heaps.
|
| virtual | ~MsgSink () |
| void * | operator new (size_t size) |
| | Allocate from the main heap under the name MsgSink.
|
| void | operator delete (void *mem) |
| | Return memory to its heap.
|
| virtual | ~MsgSink () |
| | Destroy the sink.
|
Panel of a dialog box, whose text and buttons come from the locale and whose box grows with the text.
The RTTI records the class as deriving from FreqPanel. The object is 0x100 bytes and its vtable is at 0x003d0048. The metagame registers the class for the panel type dialog_panel. Every dialog loads the shared dialog.rnd of its directory and the dialog_... objects of the file, and shows the text of its name. A tri_cancel entry shows the cancel hint of the triangle button.