]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx
Organizing code, the state now is in the view and the general render was simplified...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / Observable.cxx
index 82c51961e7a57849474a958e523fdb37d6c83a12..c52934c2c3cfa1e1128a9a0f77811b2f69b5fb31 100644 (file)
@@ -59,14 +59,14 @@ namespace bbtk
 
        //=========================================================================
        
-       void Observable::notifyObservers(int command)
+       void Observable::notifyObservers(int idObservable,int command)
        {
                if(_changed)
                {
                        int i;
                        for(i=0;i<_observers.size();i++)
                        {
-                               _observers[i]->update(command);
+                               _observers[i]->update(idObservable,command);
                        }
                        _changed=false;
                }