~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/tools/herramientalupa.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2011-05-02 08:09:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110502080926-bql5wep49c7hg91t
Tags: upstream-2.4.1.1
Import upstream version 2.4.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  
 
3
 *  $Id: herramientalupa.h 3526 2011-03-16 19:56:19Z carlos $
 
4
 *  Ginkgo CADx Project
 
5
 *
 
6
 *  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
 
7
 *  http://ginkgo-cadx.com
 
8
 *
 
9
 *  This file is licensed under LGPL v3 license.
 
10
 *  See License.txt for details
 
11
 *
 
12
 *
 
13
 */
 
14
#pragma once
 
15
 
 
16
#include <map>
 
17
 
 
18
#include <api/globals.h>
 
19
#include <api/icontroladoreventos.h>
 
20
#include <api/api.h>
 
21
 
 
22
#include <export/iherramientalupa.h>
 
23
#include <widgets/wlupa.h>
 
24
 
 
25
class IconoHerramientaCtrl;
 
26
class HerramientaOpcionesGUIBase;
 
27
 
 
28
namespace GNC {
 
29
 
 
30
        typedef enum ModoZoom {
 
31
                MZ_In,
 
32
                MZ_Out
 
33
        } ModoZoom;
 
34
 
 
35
        namespace GUI {
 
36
                class HerramientaOpcionesLupaGUI;
 
37
        }
 
38
 
 
39
        class EXTAPI HerramientaLupa : public GNC::GCS::IHerramientaLupa, public GNC::GCS::IObservador {
 
40
 
 
41
        public:
 
42
 
 
43
                HerramientaLupa();
 
44
                ~HerramientaLupa();
 
45
 
 
46
                //region "Realización de la interfaz IHerramienta"
 
47
 
 
48
                // Eventos refinados desde los paneles
 
49
                virtual void SetModo(ModoZoom modo);
 
50
 
 
51
                // Setup de paneles
 
52
                virtual void CrearPaneles( wxPanel* panel );
 
53
                
 
54
                //endregion
 
55
 
 
56
                virtual void ConectarContratoFalso(bool activar);
 
57
                virtual void SetVistaActiva(GNC::GCS::IVista* pVista);
 
58
                virtual void ConectarContratos(bool activar);
 
59
                virtual void PreProcesarEvento(GNC::GCS::Eventos::IEvento *evt, GNC::GCS::IControladorEventos::TipoListaPunterosEventos& lista);
 
60
                virtual void ProcesarEvento(GNC::GCS::Eventos::IEvento *evt);
 
61
 
 
62
        protected:
 
63
 
 
64
                GNC::GCS::Widgets::WLupaBuilder*         m_pLupaBuilder;
 
65
 
 
66
        };
 
67
}