changeset 102:9117b544eab8

Added support for the textured flag on Mac.
author Brian Smith <brian@dbsoft.org>
date Thu, 27 Sep 2012 01:48:56 -0500
parents fc05bf370ea1
children 119ce8ebd5a1
files src/config.h.in src/handyftp.c
diffstat 2 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.h.in	Thu Jul 19 14:38:38 2012 -0500
+++ b/src/config.h.in	Thu Sep 27 01:48:56 2012 -0500
@@ -60,9 +60,6 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
--- a/src/handyftp.c	Thu Jul 19 14:38:38 2012 -0500
+++ b/src/handyftp.c	Thu Sep 27 01:48:56 2012 -0500
@@ -2140,7 +2140,7 @@
 {
 	HWND infowindow, mainbox, logo, okbutton, buttonbox, stext, mle;
 	UserEntry *param = malloc(sizeof(UserEntry));
-	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER;
+	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER | DW_FCF_TEXTURED;
 	ULONG point = -1;
 	char *greets = "Thanks to the OS/2 Netlabs, OS2.org, Narayan Desai, Terje Flaaronning, " \
 		"Geoff Freimark, Vidas Simkus, Jeff LeClere, Valerie Smith, Gene Akins, " \
@@ -2227,7 +2227,7 @@
 	HWND entrywindow, mainbox, hbox, cancelbutton, okbutton, buttonbox,
 		xbox, stext, *handles = malloc(10 * sizeof(HWND));
 	UserEntry *param = malloc(sizeof(UserEntry));
-	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER;
+	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER | DW_FCF_TEXTURED;
 
 	if(in_preferences)
 	{
@@ -2445,7 +2445,7 @@
 	HWND entrywindow, mainbox, closebutton, killbutton, shutdownbutton, restartbutton,
 		container, xbox, *handles = malloc(6 * sizeof(HWND));
 	UserEntry *param = malloc(sizeof(UserEntry));
-	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_SIZEBORDER;
+	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_SIZEBORDER | DW_FCF_TEXTURED;
 	char *titles[5] = { "User",	"Address", "Activity", "Idle", "Socket" };
 	unsigned long flags[5] = {  DW_CFA_STRING | DW_CFA_RIGHT | DW_CFA_HORZSEPARATOR | DW_CFA_SEPARATOR,
 								DW_CFA_STRING | DW_CFA_LEFT | DW_CFA_HORZSEPARATOR | DW_CFA_SEPARATOR,
@@ -2559,7 +2559,7 @@
 	HWND entrywindow, mainbox, cancelbutton, okbutton, buttonbox,
 		xbox, *handles = malloc(6 * sizeof(HWND));
 	UserEntry *param = malloc(sizeof(UserEntry));
-	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER;
+	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER | DW_FCF_TEXTURED;
 
 	if(in_administration)
 	{
@@ -2828,7 +2828,7 @@
 {
 	HWND entrywindow, mainbox, entryfield, cancelbutton, okbutton, buttonbox, stext;
 	UserEntry *param = malloc(sizeof(UserEntry));
-	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER;
+	ULONG flStyle = DW_FCF_TITLEBAR | DW_FCF_DLGBORDER | DW_FCF_TEXTURED;
 
 	entrywindow = dw_window_new(HWND_DESKTOP, APP_NAME, flStyle);
 
@@ -2967,7 +2967,7 @@
 {
 	HWND infowindow, mainbox, mle, okbutton, buttonbox;
 	UserEntry *param = malloc(sizeof(UserEntry));
-	ULONG flStyle = DW_FCF_SYSMENU | DW_FCF_TITLEBAR | DW_FCF_SIZEBORDER |
+	ULONG flStyle = DW_FCF_SYSMENU | DW_FCF_TITLEBAR | DW_FCF_SIZEBORDER | DW_FCF_TEXTURED |
 		DW_FCF_MINMAX | DW_FCF_TASKLIST | DW_FCF_DLGBORDER | DW_FCF_COMPOSITED;
 	char buffer[1024];
 	ULONG point = -1;
@@ -6816,7 +6816,7 @@
 	HWND mainbox, toolbox, tempbutton, menuitem;
 	HMENUI menu;
 	ULONG flStyle = DW_FCF_SYSMENU | DW_FCF_TITLEBAR | DW_FCF_SIZEBORDER |
-		DW_FCF_MINMAX | DW_FCF_TASKLIST | DW_FCF_DLGBORDER;
+		DW_FCF_MINMAX | DW_FCF_TASKLIST | DW_FCF_DLGBORDER | DW_FCF_TEXTURED;
 	int z = 0, m = 0;
 	char msgbuf[1025];