[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/include pgnotebook.h,1.5,1.6 pgtabbar.h,1.3,1
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/include pgnotebook.h,1.5,1.6 pgtabbar.h,1.3,1.4 pgwidget.h,1.5,1.6 pgwidgetlist.h,1.6,1.7 pgwindow.h,1.5,1.6 |
Date: |
Sun, 28 Apr 2002 12:35:33 -0400 |
Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv2171/include
Modified Files:
pgnotebook.h pgtabbar.h pgwidget.h pgwidgetlist.h pgwindow.h
Log Message:
more work on PG_TabBar, PG_NoteBook
PG_WidgetList fixes
added simple theme gfx
Index: pgnotebook.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgnotebook.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgnotebook.h 28 Apr 2002 09:28:03 -0000 1.5
--- pgnotebook.h 28 Apr 2002 16:35:30 -0000 1.6
***************
*** 19,25 ****
} TabBarPos;
! PG_NoteBook(PG_Widget* parent, const PG_Rect& r, TabBarPos pos = top);
! ~PG_NoteBook();
void AddPage(const char* text, PG_Widget* page);
--- 19,26 ----
} TabBarPos;
! PG_NoteBook(PG_Widget* parent, const PG_Rect& r, TabBarPos pos = top,
int BarHeight = 33, const char* style="TabBar");
+ ~PG_NoteBook();
+
void AddPage(const char* text, PG_Widget* page);
***************
*** 37,40 ****
--- 38,43 ----
protected:
+
+ void eventSizeWidget(Uint16 w, Uint16 h);
bool handleTabSelect(PG_Button* button);
Index: pgtabbar.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgtabbar.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** pgtabbar.h 28 Apr 2002 09:28:03 -0000 1.3
--- pgtabbar.h 28 Apr 2002 16:35:30 -0000 1.4
***************
*** 6,9 ****
--- 6,12 ----
#include "pgbutton.h"
+ class PG_TabBar;
+ typedef Signal1<bool, PG_Button*> PG_SignalTabRemove;
+
class PG_TabBar : public PG_Widget {
public:
***************
*** 12,18 ****
~PG_TabBar();
! PG_Button* AddTab(const char* text);
! PG_Button* AddTab(const char* text, PG_TabSelectSlot slot);
inline int GetChildCount() {
--- 15,33 ----
~PG_TabBar();
! PG_Button* AddTab(const char* text, int id = -1);
! PG_Button* AddTab(const char* text, PG_TabSelectSlot slot, int id = -1);
!
! bool RemoveTab(PG_Button* tab);
!
! bool SelectNext();
!
! bool SelectPrev();
!
! PG_Button* FindTab(int index);
!
! PG_Button* FindTab(const char* text);
!
! int FindIndex(PG_Button* tab);
inline int GetChildCount() {
***************
*** 21,24 ****
--- 36,40 ----
PG_SignalTabSelect sigTabSelect;
+ PG_SignalTabRemove sigTabRemove;
protected:
***************
*** 36,39 ****
--- 52,56 ----
PG_Button* my_btnNext;
+ std::string my_style;
};
Index: pgwidget.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwidget.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgwidget.h 27 Apr 2002 15:36:55 -0000 1.5
--- pgwidget.h 28 Apr 2002 16:35:30 -0000 1.6
***************
*** 701,705 ****
Quit modal mode
*/
! void QuitModal();
/**
--- 701,705 ----
Quit modal mode
*/
! bool QuitModal();
/**
Index: pgwidgetlist.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwidgetlist.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** pgwidgetlist.h 27 Apr 2002 19:08:11 -0000 1.6
--- pgwidgetlist.h 28 Apr 2002 16:35:30 -0000 1.7
***************
*** 202,206 ****
virtual void UpdateScrollBarsPos();
! void CheckScrollBars();
private:
--- 202,206 ----
virtual void UpdateScrollBarsPos();
! void CheckScrollBars(Uint16 w, Uint16 h);
private:
Index: pgwindow.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwindow.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgwindow.h 27 Apr 2002 15:36:55 -0000 1.5
--- pgwindow.h 28 Apr 2002 16:35:30 -0000 1.6
***************
*** 66,69 ****
--- 66,71 ----
void SetColorTitlebar(const SDL_Color& c);
+ int RunModal();
+
PG_SignalWindowClose sigWindowClose;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/include pgnotebook.h,1.5,1.6 pgtabbar.h,1.3,1.4 pgwidget.h,1.5,1.6 pgwidgetlist.h,1.6,1.7 pgwindow.h,1.5,1.6,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/test tabbar.cpp,1.3,1.4
- Next by Date:
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.7,1.8 pgmessagebox.cpp,1.4,1.5 pgnotebook.cpp,1.5,1.6 pgrichedit.cpp,1.3,1.4 pgtabbar.cpp,1.3,1.4 pgthemewidget.cpp,1.5,1.6 pgwidget.cpp,1.6,1.7 pgwidgetlist.cpp,1.6,1.7 pgwidgetlistex.cpp,1.3,1.4 pgwindow.cpp,1.5,1.6
- Previous by thread:
[paragui-cvs] CVS: paragui/test tabbar.cpp,1.3,1.4
- Next by thread:
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.7,1.8 pgmessagebox.cpp,1.4,1.5 pgnotebook.cpp,1.5,1.6 pgrichedit.cpp,1.3,1.4 pgtabbar.cpp,1.3,1.4 pgthemewidget.cpp,1.5,1.6 pgwidget.cpp,1.6,1.7 pgwidgetlist.cpp,1.6,1.7 pgwidgetlistex.cpp,1.3,1.4 pgwindow.cpp,1.5,1.6
- Index(es):