Added an ImageEditor object, but edits aren't saved... yet git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20113 a95241bf-73f2-0310-859d-f6bbb57e9c96
33 lines
614 B
C++
33 lines
614 B
C++
/*
|
|
* Copyright (c) 2005-2006, Haiku, Inc.
|
|
* Distributed under the terms of the MIT license.
|
|
*
|
|
* Author:
|
|
* DarkWyrm <[email protected]>
|
|
*/
|
|
#ifndef EDITOR_H
|
|
#define EDITOR_H
|
|
|
|
#include <Window.h>
|
|
#include <Handler.h>
|
|
|
|
class ResourceData;
|
|
|
|
#define M_UPDATE_RESOURCE 'uprs'
|
|
|
|
class Editor : public BWindow
|
|
{
|
|
public:
|
|
Editor(const BRect &frame, ResourceData *data,
|
|
BHandler *owner);
|
|
virtual ~Editor(void);
|
|
|
|
ResourceData * GetData(void) const { return fResData; }
|
|
BHandler * GetOwner(void) const { return fOwner; }
|
|
private:
|
|
ResourceData *fResData;
|
|
BHandler *fOwner;
|
|
};
|
|
|
|
#endif
|