|
From: Emilien K. <cur...@us...> - 2005-01-08 14:49:17
|
Update of /cvsroot/wxdevcenter/StdPlugin/include/wxDevCenter/StdPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26792/include/wxDevCenter/StdPlugin Modified Files: BitmapDocView.h Log Message: ToolBar des outils de dessin Index: BitmapDocView.h =================================================================== RCS file: /cvsroot/wxdevcenter/StdPlugin/include/wxDevCenter/StdPlugin/BitmapDocView.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BitmapDocView.h 7 Jan 2005 22:10:41 -0000 1.3 --- BitmapDocView.h 8 Jan 2005 14:48:48 -0000 1.4 *************** *** 91,97 **** void OnUpdateExtraScroll(wxUpdateUIEvent& event); ! /** Création de la barre de controle.*/ ! wxPanel* CreateControlPanel(); ! /** Contrôles divers.*/ --- 91,98 ---- void OnUpdateExtraScroll(wxUpdateUIEvent& event); ! /** Création de la barre de couleurs.*/ ! wxPanel* CreateColourBar(); ! /** Création de la barre d'outil.*/ ! wxToolBar* CreateToolBar(); /** Contrôles divers.*/ *************** *** 139,143 **** { BVD_NONE = 0, ! BVD_HANDDRAW = 1 }; --- 140,150 ---- { BVD_NONE = 0, ! BVD_HANDDRAW = 1, ! BVD_BRUSH = 2, ! BVD_SPRAY = 3, ! BVD_LINE = 4, ! BVD_RECT = 5, ! BVD_ELLIPSE = 6, ! BVD_RRECT = 7 }; *************** *** 148,151 **** --- 155,163 ---- wxPoint m_pt; + /** Interception de la sélection d'un outil.*/ + void OnTool(wxCommandEvent& event); + /** Interception de l'update des outils.*/ + void OnUpdateTools(wxUpdateUIEvent& event); + /** Interception d'un drag gauche.*/ void OnLeftDrag(wxExtendedMouseEvent& event); |