2014-04-28 13:54:52 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Core/Dialog/PSPDialog.h"
|
2014-05-30 06:28:27 +00:00
|
|
|
#include "Core/MemMap.h"
|
|
|
|
|
|
|
|
struct SceUtilityScreenshotParams;
|
2014-04-28 13:54:52 +00:00
|
|
|
|
|
|
|
class PSPScreenshotDialog : public PSPDialog {
|
|
|
|
public:
|
2021-02-27 21:43:12 +00:00
|
|
|
PSPScreenshotDialog(UtilityDialogType type);
|
2022-12-11 04:32:12 +00:00
|
|
|
~PSPScreenshotDialog();
|
2014-04-28 13:54:52 +00:00
|
|
|
|
2022-12-11 04:32:12 +00:00
|
|
|
int Init(u32 paramAddr);
|
|
|
|
int Update(int animSpeed) override;
|
|
|
|
int ContStart();
|
|
|
|
void DoState(PointerWrap &p) override;
|
|
|
|
pspUtilityDialogCommon *GetCommonParam() override;
|
2014-04-28 13:54:52 +00:00
|
|
|
|
|
|
|
protected:
|
2021-01-18 18:46:57 +00:00
|
|
|
// TODO: Manage status correctly.
|
|
|
|
bool UseAutoStatus() override {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2014-04-28 13:54:52 +00:00
|
|
|
int mode;
|
2014-05-30 06:28:27 +00:00
|
|
|
PSPPointer<SceUtilityScreenshotParams> params_;
|
2014-04-28 13:54:52 +00:00
|
|
|
};
|
|
|
|
|