[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/include pgbutton.h,1.3.6.1,1.3.6.2 pglabel.h,
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/include pgbutton.h,1.3.6.1,1.3.6.2 pglabel.h,1.3.6.1,1.3.6.2 pglistbox.h,1.3.6.1,1.3.6.2 pgradiobutton.h,1.3.6.2,1.3.6.3 pgrectlist.h,1.3.6.2,1.3.6.3 pgrichedit.h,1.3.6.3,1.3.6.4 pgwidgetlist.h,1.3.6.2,1.3.6.3 |
Date: |
Sun, 29 Jun 2003 13:09:51 -0400 |
Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv31054/include
Modified Files:
Tag: devel-1-0
pgbutton.h pglabel.h pglistbox.h pgradiobutton.h pgrectlist.h
pgrichedit.h pgwidgetlist.h
Log Message:
applied patches from H. C. <address@hidden>:
- fixed a thing that would hide a PG_Window's icon when one selected to use
the minimize button (this problem was introduced by me, sorry)
- added GetListWidth() and GetListHeight() to PG_WidgetList
- added GetIcon(Uint8 num) to PG_Button (num has to be either 0, 1 or 2 - it
represents the different images for iconup, icondown and iconover)
- added GetIcon() to PG_Label
- added GetSelectedIndex() and GetSelectedItems(...) to PG_ListBox
- modified SetSizeByText(...) in PG_RadioButton to make it work properly
- added reference to namespace "std" in PG_RectList to fix a VC7 build error
- added SetTabSize(...) to PG_RichEdit
Index: pgbutton.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgbutton.h,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -r1.3.6.1 -r1.3.6.2
*** pgbutton.h 1 Nov 2002 15:00:59 -0000 1.3.6.1
--- pgbutton.h 29 Jun 2003 17:09:49 -0000 1.3.6.2
***************
*** 205,208 ****
--- 205,210 ----
#endif
+ SDL_Surface* GetIcon(Uint8 num);
+
/**
Set the bordersize of the button
Index: pglabel.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pglabel.h,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -r1.3.6.1 -r1.3.6.2
*** pglabel.h 1 Nov 2002 15:00:59 -0000 1.3.6.1
--- pglabel.h 29 Jun 2003 17:09:49 -0000 1.3.6.2
***************
*** 86,89 ****
--- 86,91 ----
SDL_Surface* SetIcon(SDL_Surface* icon);
+ SDL_Surface* GetIcon();
+
/**
Set the text indentation
Index: pglistbox.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pglistbox.h,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -r1.3.6.1 -r1.3.6.2
*** pglistbox.h 28 Apr 2002 21:14:59 -0000 1.3.6.1
--- pglistbox.h 29 Jun 2003 17:09:49 -0000 1.3.6.2
***************
*** 96,99 ****
--- 96,106 ----
void SetIndent(int indent);
+ /**
+ Returns the index of the last selected item
+ */
+ int GetSelectedIndex();
+
+ void GetSelectedItems(std::vector<PG_ListBoxBaseItem*>& items);
+
protected:
Index: pgradiobutton.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgradiobutton.h,v
retrieving revision 1.3.6.2
retrieving revision 1.3.6.3
diff -C2 -r1.3.6.2 -r1.3.6.3
*** pgradiobutton.h 28 Mar 2003 19:59:41 -0000 1.3.6.2
--- pgradiobutton.h 29 Jun 2003 17:09:49 -0000 1.3.6.3
***************
*** 89,92 ****
--- 89,94 ----
void SetFontColor(int Color);
+ void SetSizeByText(int Width = 0, int Height = 0, const char *Text =
NULL);
+
protected:
Index: pgrectlist.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgrectlist.h,v
retrieving revision 1.3.6.2
retrieving revision 1.3.6.3
diff -C2 -r1.3.6.2 -r1.3.6.3
*** pgrectlist.h 4 Jan 2003 21:13:38 -0000 1.3.6.2
--- pgrectlist.h 29 Jun 2003 17:09:49 -0000 1.3.6.3
***************
*** 39,42 ****
--- 39,45 ----
#include <map>
#endif
+
+ using namespace std;
+
/**
@author Alexander Pipelka
Index: pgrichedit.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgrichedit.h,v
retrieving revision 1.3.6.3
retrieving revision 1.3.6.4
diff -C2 -r1.3.6.3 -r1.3.6.4
*** pgrichedit.h 5 Apr 2003 14:48:33 -0000 1.3.6.3
--- pgrichedit.h 29 Jun 2003 17:09:49 -0000 1.3.6.4
***************
*** 85,88 ****
--- 85,90 ----
void SetAlignment(Uint8 align);
+ void SetTabSize(Uint32 tabSize);
+
protected:
Index: pgwidgetlist.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwidgetlist.h,v
retrieving revision 1.3.6.2
retrieving revision 1.3.6.3
diff -C2 -r1.3.6.2 -r1.3.6.3
*** pgwidgetlist.h 21 Jan 2003 15:54:33 -0000 1.3.6.2
--- pgwidgetlist.h 29 Jun 2003 17:09:49 -0000 1.3.6.3
***************
*** 171,174 ****
--- 171,177 ----
void PageDown();
+ Uint32 GetListWidth();
+ Uint32 GetListHeight();
+
protected:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/include pgbutton.h,1.3.6.1,1.3.6.2 pglabel.h,1.3.6.1,1.3.6.2 pglistbox.h,1.3.6.1,1.3.6.2 pgradiobutton.h,1.3.6.2,1.3.6.3 pgrectlist.h,1.3.6.2,1.3.6.3 pgrichedit.h,1.3.6.3,1.3.6.4 pgwidgetlist.h,1.3.6.2,1.3.6.3,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.3.6.2,1.3.6.3 pglabel.cpp,1.3,1.3.6.1 pglistbox.cpp,1.3.6.3,1.3.6.4 pgradiobutton.cpp,1.3.6.3,1.3.6.4 pgrichedit.cpp,1.3.6.6,1.3.6.7 pgwidgetlist.cpp,1.3.6.8,1.3.6.9 pgwindow.cpp,1.3.6.8,1.3.6.9
- Previous by thread:
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.3.6.2,1.3.6.3 pglabel.cpp,1.3,1.3.6.1 pglistbox.cpp,1.3.6.3,1.3.6.4 pgradiobutton.cpp,1.3.6.3,1.3.6.4 pgrichedit.cpp,1.3.6.6,1.3.6.7 pgwidgetlist.cpp,1.3.6.8,1.3.6.9 pgwindow.cpp,1.3.6.8,1.3.6.9
- Index(es):