summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-07
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--ChangeLog.pre-2-27
-rw-r--r--ChangeLog.pre-2-47
-rw-r--r--ChangeLog.pre-2-67
-rw-r--r--ChangeLog.pre-2-87
-rw-r--r--gtk/gtkpreview.c8
8 files changed, 55 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index bd9a39b796..4f8cc96116 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,10 @@
+Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+ * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+ so that it seems to allow normal operation in those modes,
+ although you will only see black (GIMP toolbar now pops up,
+ just don't create a new image and GIMP now works in 4 bit.)
+
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkvisuals.c: 4 bit support, increased available_depths
diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c
index 2aa3d0b13c..713db2b570 100644
--- a/gtk/gtkpreview.c
+++ b/gtk/gtkpreview.c
@@ -831,9 +831,11 @@ gtk_preview_get_visuals (GtkPreviewClass *klass)
GDK_VISUAL_DIRECT_COLOR,
GDK_VISUAL_TRUE_COLOR,
GDK_VISUAL_DIRECT_COLOR,
- GDK_VISUAL_PSEUDO_COLOR
+ GDK_VISUAL_PSEUDO_COLOR,
+ GDK_VISUAL_STATIC_COLOR,
+ GDK_VISUAL_STATIC_GRAY
};
- static gint depths[] = { 24, 24, 32, 32, 16, 16, 15, 15, 8 };
+ static gint depths[] = { 24, 24, 32, 32, 16, 16, 15, 15, 8, 4, 1 };
static gint nvisual_types = sizeof (types) / sizeof (types[0]);
int i;
@@ -887,6 +889,8 @@ gtk_preview_get_visuals (GtkPreviewClass *klass)
switch (klass->info.visual->depth)
{
+ case 1:
+ case 4:
case 8:
klass->info.bpp = 1;
break;