MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TListaW.h

Go to the documentation of this file.
00001 
00002 #ifndef _T_LISTAW_
00003 #define _T_LISTAW_
00004 
00005 #include<stdio.h>
00006 
00007 #include<stdlib.h>
00008 #include <wx/panel.h>
00009 #include <string.h>
00010 
00011 
00012 class TListaW
00013   { private:
00014      typedef struct widget
00015        {
00016        // char tipo;
00017         wxWindow *oggetto;
00018         int id;
00019         widget* next;
00020        }pr;
00021        pr* first;
00022        pr* last;
00023 
00024      public:
00025        TListaW();
00026        ~TListaW();
00027        int numeroelementi;
00028        void NuovoNodo(wxWindow* object,int idx);
00029        void RimuoviNodo(int posizione);
00030        int TrovaPosizione(int idx);
00031        wxWindow* TrovaSuccessivo(int id);
00032        void OrdinaElementi();
00033        bool ControllaPosizione(wxPoint posizionereale, wxWindow** pannello);
00034 
00036 
00040        wxWindow* ExtractObject(int position);
00041 
00042   };
00043 
00044 #endif

 

SourceForge Logo