OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ObjectListDlg.cpp
Go to the documentation of this file.
1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 2007-2009, RedWolf Design GmbH, http://www.clonk.de/
5  * Copyright (c) 2009-2016, The OpenClonk Team and contributors
6  *
7  * Distributed under the terms of the ISC license; see accompanying file
8  * "COPYING" for details.
9  *
10  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
11  * See accompanying file "TRADEMARK" for details.
12  *
13  * To redistribute this file separately, substitute the full license texts
14  * for the above references.
15  */
16 
17 /* A window listing all objects in the game */
18 
19 #include "C4Include.h"
20 #include "editor/C4ObjectListDlg.h"
21 #include "editor/C4Console.h"
22 #include "object/C4Object.h"
23 #include "object/C4GameObjects.h"
24 #include "script/C4Effect.h"
25 
26 
28 {
29 }
30 
32 {
33 }
34 
36 {
37 }
38 
40 {
41 }
42 
43 #ifdef WITH_QT_EDITOR
44 
46 
48 {
49  // Update done through console
51 }
52 
53 // Could do some crazy fine-grained updates. But updating is cheap enough...
55 {
56  if (view_model) view_model->Invalidate();
57 }
58 
60 {
61  if (view_model) view_model->Invalidate();
62 }
63 
65 {
66  if (view_model) view_model->Invalidate();
67 }
68 
69 void C4ObjectListDlg::OnObjectContainerChanged(C4Object *obj, C4Object *old_container, C4Object *new_container)
70 {
71  if (view_model) view_model->Invalidate();
72 }
73 
74 
75 #else
76 
78 {
79 }
80 
82 {
83 }
84 
86 {
87 }
88 
90 {
91 }
92 
93 void C4ObjectListDlg::OnObjectContainerChanged(C4Object *obj, C4Object *old_container, C4Object *new_container)
94 {
95 }
96 
97 
98 #endif // WITH_QT_EDITOR
99 
100 
C4Console Console
Definition: C4Globals.cpp:45
virtual void OnObjectRename(C4ObjectList *pList, C4ObjectLink *pLnk) override
void OnObjectSelectionChanged(class C4EditCursorSelection &selection)
Definition: C4ConsoleGUI.h:113
virtual void OnObjectAdded(C4ObjectList *pList, C4ObjectLink *pLnk) override
C4ObjectListDlg ObjectListDlg
Definition: C4Console.h:89
virtual void OnObjectRemove(C4ObjectList *pList, C4ObjectLink *pLnk) override
virtual void OnObjectContainerChanged(C4Object *obj, C4Object *old_container, C4Object *new_container) override
C4ObjectListChangeListener & ObjectListChangeListener
virtual ~C4ObjectListDlg()
void Update(class C4EditCursorSelection &rSelection)