mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
implemented SymbolFilter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@70 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -112,6 +112,7 @@ void GalleryList::onKeyDown(wxKeyEvent& ev) {
|
||||
}
|
||||
|
||||
// Linear interpolation between colors
|
||||
// MOVE ME, declared in gfx.hpp
|
||||
Color lerp(const Color& a, const Color& b, double t) {
|
||||
return Color(a.Red() + (b.Red() - a.Red() ) * t,
|
||||
a.Green() + (b.Green() - a.Green()) * t,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <util/prec.hpp>
|
||||
#include <data/symbol.hpp>
|
||||
#include <gui/symbol/viewer.hpp>
|
||||
#include <render/symbol/viewer.hpp>
|
||||
|
||||
class SymbolWindow;
|
||||
DECLARE_POINTER_TYPE(SymbolEditorBase);
|
||||
|
||||
Reference in New Issue
Block a user