Changeset 8271 in orxonox.OLD for trunk/src/lib/gui
- Timestamp:
- Jun 8, 2006, 4:50:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/signal_connector.cc
r8145 r8271 92 92 { 93 93 if (this->isValid()) 94 (*this->exec)(this->object, 0, NULL); 94 { 95 static int count = 0; 96 (*this->exec)(this->object, count, NULL); 97 } 95 98 } 96 99 … … 102 105 { 103 106 if (exec != NULL && object != NULL) 104 (*this->exec)(this->object, 1, (void*)&value0); 107 { 108 static int count = 1; 109 (*this->exec)(this->object, count, (void*)&value0); 110 } 105 111 } 106 112 … … 114 120 if (exec != NULL && object != NULL) 115 121 { 122 static int count = 2; 116 123 MultiType mt[] = { value0, value1 }; 117 (*this->exec)(this->object, 2, mt);124 (*this->exec)(this->object, count, mt); 118 125 } 119 126 } … … 129 136 if (exec != NULL && object != NULL) 130 137 { 138 static int count = 3; 131 139 MultiType mt[] = { value0, value1, value2 }; 132 (*this->exec)(this->object, 3, mt);140 (*this->exec)(this->object, count, mt); 133 141 } 134 142 } … … 145 153 if (exec != NULL && object != NULL) 146 154 { 155 static int count = 4; 147 156 MultiType mt[] = { value0, value1, value2, value3 }; 148 (*this->exec)(this->object, 4, mt);157 (*this->exec)(this->object, count, mt); 149 158 } 150 159 } … … 162 171 if (exec != NULL && object != NULL) 163 172 { 173 static int count = 5; 164 174 MultiType mt[] = { value0, value1, value2, value3, value4 }; 165 (*this->exec)(this->object, 5, mt);175 (*this->exec)(this->object, count, mt); 166 176 } 167 177 }
Note: See TracChangeset
for help on using the changeset viewer.