mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Added ScriptableImage plus the beginnings of dependency stuff
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@58 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -48,6 +48,7 @@ bool DataViewer::drawBorders() const { return false; }
|
||||
bool DataViewer::drawEditing() const { return false; }
|
||||
wxPen DataViewer::borderPen(bool) const { return wxPen(); }
|
||||
ValueViewer* DataViewer::focusedViewer() const { return nullptr; }
|
||||
Context& DataViewer::getContext() const { return set->getContext(); }
|
||||
|
||||
// ----------------------------------------------------------------------------- : Setting data
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
DECLARE_POINTER_TYPE(Style);
|
||||
DECLARE_POINTER_TYPE(ValueViewer);
|
||||
class Context;
|
||||
|
||||
// ----------------------------------------------------------------------------- : DataViewer
|
||||
|
||||
@@ -47,6 +48,8 @@ class DataViewer : public SetView {
|
||||
/// The viewer that is currently focused, may be null
|
||||
/** null by default, can be overloaded */
|
||||
virtual ValueViewer* focusedViewer() const;
|
||||
/// Get a script context to use for scripts in the viewers
|
||||
Context& getContext() const;
|
||||
|
||||
// --------------------------------------------------- : Setting data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user