[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/include pgfilelist.h,NONE,1.1 Makefile.am,1.5
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/include pgfilelist.h,NONE,1.1 Makefile.am,1.5,1.6 pgapplication.h,1.5,1.6 pgfilearchive.h,1.4,1.5 pgmessageobject.h,1.5,1.6 pgwidget.h,1.6,1.7 |
Date: |
Mon, 29 Apr 2002 07:44:25 -0400 |
Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv23212/include
Modified Files:
Makefile.am pgapplication.h pgfilearchive.h pgmessageobject.h
pgwidget.h
Added Files:
pgfilelist.h
Log Message:
PG_MessageObject, PG_Application cleanups
added PG_FileList
added performance test to paratest
--- NEW FILE ---
#ifndef PG_FILELIST_H
#define PG_FILELIST_H
#include <vector>
#include <string>
class PG_FileList : public std::vector<std::string> {
public:
PG_FileList(char** list);
virtual ~PG_FileList();
};
#endif // PG_FILELIST_H
Index: Makefile.am
===================================================================
RCS file: /cvsroot/paragui/paragui/include/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Makefile.am 28 Apr 2002 09:28:03 -0000 1.5
--- Makefile.am 29 Apr 2002 11:44:21 -0000 1.6
***************
*** 52,56 ****
pgsignals.h \
pgtabbar.h \
! pgnotebook.h
EXTRA_DIST = \
--- 52,57 ----
pgsignals.h \
pgtabbar.h \
! pgnotebook.h \
! pgfilelist.h
EXTRA_DIST = \
Index: pgapplication.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgapplication.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgapplication.h 27 Apr 2002 15:36:54 -0000 1.5
--- pgapplication.h 29 Apr 2002 11:44:21 -0000 1.6
***************
*** 453,457 ****
PG_SignalAppQuit sigAppQuit;
!
protected:
--- 453,459 ----
PG_SignalAppQuit sigAppQuit;
! PG_SignalAppIdle sigAppIdle;
! PG_SignalVideoResize sigVideoResize;
!
protected:
***************
*** 461,464 ****
--- 463,469 ----
void Shutdown();
+ /** */
+ virtual void eventIdle();
+
static void ClearOldMousePosition();
***************
*** 477,480 ****
--- 482,487 ----
/** */
virtual void eventInit();
+
+ static bool my_quitEventLoop;
private:
Index: pgfilearchive.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgfilearchive.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** pgfilearchive.h 27 Apr 2002 15:36:54 -0000 1.4
--- pgfilearchive.h 29 Apr 2002 11:44:21 -0000 1.5
***************
*** 37,40 ****
--- 37,41 ----
#include "paragui.h"
#include "pgfile.h"
+ #include "pgfilelist.h"
#include "pgsurfacecache.h"
#include "pgdatacontainer.h"
***************
*** 115,119 ****
\return the file list
*/
! static char **EnumerateFiles(const char *dir);
/**
--- 116,121 ----
\return the file list
*/
! //static char **EnumerateFiles(const char *dir);
! static PG_FileList EnumerateFiles(const char *dir);
/**
Index: pgmessageobject.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgmessageobject.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgmessageobject.h 27 Apr 2002 15:36:54 -0000 1.5
--- pgmessageobject.h 29 Apr 2002 11:44:21 -0000 1.6
***************
*** 130,137 ****
virtual bool ProcessEvent(const SDL_Event* event);
- PG_SignalAppIdle sigAppIdle;
-
- PG_SignalVideoResize sigVideoResize;
-
protected:
--- 130,133 ----
***************
*** 214,229 ****
/**
- Overridable Eventhandler for a MSG_QUITMODAL message.
- The default implementation returns 'false' which indicates that this
message is not processed by this object.
-
- @param id id of the sending widget
- @param widget pointer to the widget
- @param data event specific data
-
- @return Notifies the message pump if this message is processed by this
object or it should be routed to the next message receiver.
- */
- virtual bool eventQuitModal(int id, PG_MessageObject* widget, unsigned
long data);
-
- /**
Overridable Eventhandler for a SDL_SysWMEvent message.
The default implementation returns 'false' which indicates that this
message is not processed by this object.
--- 210,213 ----
***************
*** 248,254 ****
virtual void eventInputFocusLost(PG_MessageObject* newfocus);
- /** */
- virtual void eventIdle();
-
/**
Overridable message filter function. Derivated classes can filter
special events.
--- 232,235 ----
***************
*** 261,272 ****
virtual bool AcceptEvent(const SDL_Event* event);
- static bool my_quitEventLoop;
-
static std::vector<PG_MessageObject*> objectList;
static PG_MessageObject* captureObject;
! // mutexes
! SDL_mutex* my_mutexSendMessage;
SDL_mutex* my_mutexReceiveMessage;
--- 242,250 ----
virtual bool AcceptEvent(const SDL_Event* event);
static std::vector<PG_MessageObject*> objectList;
static PG_MessageObject* captureObject;
! // mutex
SDL_mutex* my_mutexReceiveMessage;
Index: pgwidget.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwidget.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** pgwidget.h 28 Apr 2002 16:35:30 -0000 1.6
--- pgwidget.h 29 Apr 2002 11:44:21 -0000 1.7
***************
*** 737,746 ****
protected:
- /** */
- //virtual bool eventScrollPos(int id, PG_Widget* widget, unsigned long
data);
-
- /** */
- //virtual bool eventScrollTrack(int id, PG_Widget* widget, unsigned
long data);
-
/**
Callback for the MoveWidget event
--- 737,740 ----
***************
*** 788,800 ****
*/
virtual void eventHide();
-
- /**
- overridable eventhandler called when leaving a modal eventloop
- @param id id of the widget that send the quit signal
- @param widget pointer to the widget
- @param data event specific data
- @return true if the message was processed
- */
- virtual bool eventQuitModal(int id, PG_MessageObject* widget, unsigned
long data);
/** */
--- 782,785 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/include pgfilelist.h,NONE,1.1 Makefile.am,1.5,1.6 pgapplication.h,1.5,1.6 pgfilearchive.h,1.4,1.5 pgmessageobject.h,1.5,1.6 pgwidget.h,1.6,1.7,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/src/core pgfilelist.cpp,NONE,1.1 Makefile.am,1.3,1.4 pgapplication.cpp,1.4,1.5 pgfilearchive.cpp,1.3,1.4 pgmessageobject.cpp,1.2,1.3 pgrectlist.cpp,1.1,1.2
- Next by Date:
[paragui-cvs] CVS: paragui/data simple.theme,1.1.1.1,1.2
- Previous by thread:
[paragui-cvs] CVS: paragui/src/core pgfilelist.cpp,NONE,1.1 Makefile.am,1.3,1.4 pgapplication.cpp,1.4,1.5 pgfilearchive.cpp,1.3,1.4 pgmessageobject.cpp,1.2,1.3 pgrectlist.cpp,1.1,1.2
- Next by thread:
[paragui-cvs] CVS: paragui/data simple.theme,1.1.1.1,1.2
- Index(es):