annotate engine/core/view/renderers/coordinaterenderer.i @ 695:47d58c7a95d7

Fixed a bug in VFSDirectory that prevented absolute paths from being resolved. * Modified the VFSDirectory constructor so that it now adds the drive root as the VFS root by default, instead of the current working directory. * Added the current working directory to the VFS in Engine::preInit in addition to the default drive root. * Reverted a change to EventManager::processMouseEvent which prevents GUIChan from grabbing mouse input. The fact that GUIChan grabs all mouse input will need to be addressed once the GUI code is modularized.
author M. George Hansen <technopolitica@gmail.com>
date Fri, 10 Jun 2011 23:36:14 -1000
parents aa813b967806
children
rev   line source
580
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
1 /***************************************************************************
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
2 * Copyright (C) 2005-2008 by the FIFE team *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
3 * http://www.fifengine.de *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
4 * This file is part of FIFE. *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
5 * *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
6 * FIFE is free software; you can redistribute it and/or *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
8 * License as published by the Free Software Foundation; either *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version. *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
10 * *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
11 * This library is distributed in the hope that it will be useful, *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
14 * Lesser General Public License for more details. *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
15 * *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
17 * License along with this library; if not, write to the *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
18 * Free Software Foundation, Inc., *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
20 ***************************************************************************/
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
21
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
22 %module fife
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
23 %{
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
24 #include "view/renderers/coordinaterenderer.h"
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
25 %}
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
26
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
27 namespace FIFE {
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
28 class RenderBackend;
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
29
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
30 class CoordinateRenderer: public RendererBase {
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
31 public:
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
32 virtual ~CoordinateRenderer();
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
33 std::string getName();
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
34 void setColor(Uint8 r, Uint8 g, Uint8 b);
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
35
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
36 static CoordinateRenderer* getInstance(IRendererContainer* cnt);
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
37
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
38 private:
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
39 CoordinateRenderer(RenderBackend* renderbackend, int position, AbstractFont* font);
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
40 };
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
41 }
aa813b967806 * I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
42