wavelength 1.0.0
Loading...
Searching...
No Matches
shareremixscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
5#include "os/string.h"
6#include "script/dataarray.h"
8
17public:
24 ~ShareRemixScreen() override = default;
25
33 explicit ShareRemixScreen(DataArray *pData);
34
45 static UIScreen *New(DataArray *pData) {
46 return new ShareRemixScreen(pData);
47 }
48
57 bool DispatchPriv(Message *pMsg) override;
58
72
82
83private:
84 String mPendingScreen;
85};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Message that reports how much of the remix of an online game the consoles have exchanged.
Definition shareremixprogressmsg.h:13
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Go to mPendingScreen, if one waits.
bool DispatchPriv(Message *pMsg) override
Route the end of the entry and the progress, and pass on every other message.
bool HandleProgress(ShareRemixProgressMsg *pMsg)
Show the progress, or go on once the exchange has finished.
~ShareRemixScreen() override=default
Destroy the object.
ShareRemixScreen(DataArray *pData)
Construct the screen from its script description, with no next screen.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition shareremixscreen.h:45
Growable text buffer that is also a PrnStream.
Definition string.h:19
UIScreen(DataArray *pData)
Construct a screen from its script description.
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23