mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
finished symbol rendering
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@90 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -40,13 +40,14 @@ class SymbolViewer : public SymbolView {
|
||||
Rotation rotation; ///< Object that handles rotation, scaling and translation
|
||||
|
||||
// --------------------------------------------------- : Drawing
|
||||
|
||||
public:
|
||||
|
||||
/// Draw the symbol to a dc
|
||||
void draw(DC& dc);
|
||||
|
||||
|
||||
void highlightPart(DC& dc, const SymbolPart& part, HighlightStyle style);
|
||||
|
||||
|
||||
void onAction(const Action&, bool) {}
|
||||
|
||||
private:
|
||||
/// Combines a symbol part with what is currently drawn, the border and interior are drawn separatly
|
||||
/** directB/directI are true if the border/interior is the screen dc, false if it
|
||||
|
||||
Reference in New Issue
Block a user