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 
30 
32 {
33 }
34 
36 {
37 }
38 
39 #ifdef WITH_QT_EDITOR
40 
42 
44 {
45  // Update done through console
47 }
48 
49 // Could do some crazy fine-grained updates. But updating is cheap enough...
51 {
52  if (view_model) view_model->Invalidate();
53 }
54 
56 {
57  if (view_model) view_model->Invalidate();
58 }
59 
61 {
62  if (view_model) view_model->Invalidate();
63 }
64 
65 void C4ObjectListDlg::OnObjectContainerChanged(C4Object *obj, C4Object *old_container, C4Object *new_container)
66 {
67  if (view_model) view_model->Invalidate();
68 }
69 
70 
71 #else
72 
74 {
75 }
76 
78 {
79 }
80 
82 {
83 }
84 
86 {
87 }
88 
89 void C4ObjectListDlg::OnObjectContainerChanged(C4Object *obj, C4Object *old_container, C4Object *new_container)
90 {
91 }
92 
93 
94 #endif // WITH_QT_EDITOR
95 
96 
C4Console Console
Definition: C4Globals.cpp:45
void OnObjectRename(C4ObjectList *pList, C4ObjectLink *pLnk) override
void OnObjectSelectionChanged(class C4EditCursorSelection &selection)
Definition: C4ConsoleGUI.h:112
void OnObjectAdded(C4ObjectList *pList, C4ObjectLink *pLnk) override
~C4ObjectListDlg() override
C4ObjectListDlg ObjectListDlg
Definition: C4Console.h:89
void OnObjectRemove(C4ObjectList *pList, C4ObjectLink *pLnk) override
void OnObjectContainerChanged(C4Object *obj, C4Object *old_container, C4Object *new_container) override
C4ObjectListChangeListener & ObjectListChangeListener
void Update(class C4EditCursorSelection &rSelection)