2015-02-12 23:16:25 +08:00
|
|
|
// Aseprite
|
2025-08-26 18:55:14 +08:00
|
|
|
// Copyright (C) 2025 Igara Studio S.A.
|
2015-02-12 23:16:25 +08:00
|
|
|
// Copyright (C) 2001-2015 David Capello
|
|
|
|
//
|
2016-08-27 04:02:58 +08:00
|
|
|
// This program is distributed under the terms of
|
|
|
|
// the End-User License Agreement for Aseprite.
|
2014-05-26 11:20:16 +08:00
|
|
|
|
|
|
|
#ifndef APP_CONTEXT_BAR_OBSERVER_H_INCLUDED
|
|
|
|
#define APP_CONTEXT_BAR_OBSERVER_H_INCLUDED
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace app {
|
|
|
|
|
|
|
|
class ContextBarObserver {
|
|
|
|
public:
|
2025-08-27 22:54:15 +08:00
|
|
|
enum DropAction { Deselect, DropPixels, CancelDrag };
|
2014-05-26 11:20:16 +08:00
|
|
|
|
|
|
|
virtual ~ContextBarObserver() {}
|
|
|
|
virtual void onDropPixels(DropAction action) {}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace app
|
|
|
|
|
|
|
|
#endif
|