mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-15 20:42:40 +00:00
With this change we have moved all the file selector customization to a new special FileExportWindow. So the file selector is used only to select the output file (no more FileSelectorDelegate = now we can use the native file selector for File > Export).
34 lines
673 B
C++
34 lines
673 B
C++
// Aseprite
|
|
// Copyright (C) 2001-2018 David Capello
|
|
//
|
|
// This program is distributed under the terms of
|
|
// the End-User License Agreement for Aseprite.
|
|
|
|
#ifndef APP_FILE_SELECTOR_H_INCLUDED
|
|
#define APP_FILE_SELECTOR_H_INCLUDED
|
|
#pragma once
|
|
|
|
#include "base/paths.h"
|
|
#include "doc/pixel_ratio.h"
|
|
|
|
#include <string>
|
|
|
|
namespace ui {
|
|
class ComboBox;
|
|
}
|
|
|
|
namespace app {
|
|
|
|
enum class FileSelectorType { Open, OpenMultiple, Save };
|
|
|
|
bool show_file_selector(
|
|
const std::string& title,
|
|
const std::string& initialPath,
|
|
const base::paths& extensions,
|
|
FileSelectorType type,
|
|
base::paths& output);
|
|
|
|
} // namespace app
|
|
|
|
#endif
|