mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
added native look editor and the set info panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@82 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -95,6 +95,15 @@ class ValueEditor {
|
||||
|
||||
/// The cursor type to use when the mouse is over this control
|
||||
virtual wxCursor cursor() const { return wxCursor(); }
|
||||
/// determines prefered size in the native look, update the style
|
||||
virtual void determineSize() {}
|
||||
/// The editor is shown or hidden
|
||||
virtual void onShow(bool) {}
|
||||
|
||||
/// Draw selection indicators
|
||||
/** note: the drawing of the value is done by the viewer, only a selection indicator is drawn here
|
||||
*/
|
||||
virtual void drawSelection(RotatedDC& dc) {}
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : Utility
|
||||
|
||||
Reference in New Issue
Block a user