1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-07 14:24:14 +01:00

added nana stuff

added lock option in docked icons
This commit is contained in:
kojima
1999-10-20 03:25:06 +00:00
parent 914648cc2b
commit eb87c40967
39 changed files with 1833 additions and 501 deletions

View File

@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = no-dependencies
lib_LTLIBRARIES = libwraster.la
libwraster_la_LDFLAGS = -version-info 3:0:2
libwraster_la_LDFLAGS = -version-info 3:1:2
bin_SCRIPTS = get-wraster-flags

View File

@@ -96,7 +96,7 @@ AUTOMAKE_OPTIONS = no-dependencies
lib_LTLIBRARIES = libwraster.la
libwraster_la_LDFLAGS = -version-info 3:0:2
libwraster_la_LDFLAGS = -version-info 3:1:2
bin_SCRIPTS = get-wraster-flags

View File

@@ -140,7 +140,8 @@ RGetImageFromXPMData(RContext *context, char **data)
color_table[1][i] = green;
color_table[2][i] = blue;
color_table[3][i] = 255;
} else if (strncmp(&(data[line][j]), "None", 4)==0) {
} else if (strncmp(&(data[line][j]), "None", 4)==0
|| strncmp(&(data[line][j]), "none", 4)==0) {
color_table[3][i] = 0;
transp = 1;
} else {
@@ -315,7 +316,8 @@ RLoadXPM(RContext *context, char *file, int index)
color_table[1][i] = green;
color_table[2][i] = blue;
color_table[3][i] = 255;
} else if (strncmp(&(line[j]), "None", 4)==0) {
} else if (strncmp(&(line[j]), "None", 4)==0
|| strncmp(&(line[j]), "none", 4)==0) {
color_table[3][i] = 0;
transp = 1;
} else {

View File

@@ -155,8 +155,8 @@ RLoadPNG(RContext *context, char *file, int index)
sgamma = 1;
} else {
/* no, this is correct. Old gimp versions are broken and save wrong
* data. Upgrade gimp */
sgamma = 2.0;
* data. Upgrade gimp. wtf :/*/
sgamma = 1.0;
}
if (png_get_gAMA(png, pinfo, &gamma))