mirror of https://github.com/aseprite/aseprite.git
25 lines
524 B
C++
25 lines
524 B
C++
// Aseprite
|
|
// Copyright (C) 2025 Igara Studio S.A.
|
|
// Copyright (C) 2001-2015 David Capello
|
|
//
|
|
// This program is distributed under the terms of
|
|
// the End-User License Agreement for Aseprite.
|
|
|
|
#ifndef APP_CONTEXT_BAR_OBSERVER_H_INCLUDED
|
|
#define APP_CONTEXT_BAR_OBSERVER_H_INCLUDED
|
|
#pragma once
|
|
|
|
namespace app {
|
|
|
|
class ContextBarObserver {
|
|
public:
|
|
enum DropAction { Deselect, DropPixels, CancelDrag };
|
|
|
|
virtual ~ContextBarObserver() {}
|
|
virtual void onDropPixels(DropAction action) {}
|
|
};
|
|
|
|
} // namespace app
|
|
|
|
#endif
|