[haiku-commits] r41201 - haiku/trunk/src/apps/showimage

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 8 Apr 2011 17:00:26 +0200 (CEST)

Author: stippi
Date: 2011-04-08 17:00:25 +0200 (Fri, 08 Apr 2011)
New Revision: 41201
Changeset: https://dev.haiku-os.org/changeset/41201

Modified:
   haiku/trunk/src/apps/showimage/ToolBarIcons.cpp
   haiku/trunk/src/apps/showimage/ToolBarIcons.h
Log:
Added icon for leaving full screen mode.


Modified: haiku/trunk/src/apps/showimage/ToolBarIcons.cpp
===================================================================
--- haiku/trunk/src/apps/showimage/ToolBarIcons.cpp     2011-04-08 14:59:54 UTC 
(rev 41200)
+++ haiku/trunk/src/apps/showimage/ToolBarIcons.cpp     2011-04-08 15:00:25 UTC 
(rev 41201)
@@ -391,6 +391,34 @@
 };
 
 
+static const uint8 kViewWindowed[] = {
+       0x6e, 0x63, 0x69, 0x66, 0x07, 0x04, 0x00, 0x66, 0x03, 0xbf, 0x50, 0x00,
+       0x03, 0xff, 0xd4, 0x00, 0x05, 0x54, 0x02, 0x02, 0x06, 0x02, 0x3b, 0x80,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3b, 0x00, 0x00, 0x48, 0x00,
+       0x00, 0x48, 0x40, 0x00, 0xb8, 0xff, 0xff, 0xff, 0xff, 0xe6, 0xe1, 0xdc,
+       0x03, 0x00, 0x40, 0x80, 0x02, 0x00, 0x06, 0x02, 0x00, 0x00, 0x00, 0x39,
+       0x80, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4b, 0xe0, 0x00, 0x47,
+       0x40, 0x00, 0x00, 0xab, 0xd5, 0xff, 0xff, 0x00, 0x6c, 0xd9, 0x03, 0x0a,
+       0x04, 0x22, 0x26, 0x22, 0x22, 0x2e, 0x22, 0x2e, 0x26, 0x0a, 0x04, 0x3e,
+       0x3c, 0x22, 0x3c, 0x22, 0x26, 0x3e, 0x26, 0x0a, 0x07, 0x46, 0x2e, 0x3c,
+       0x2e, 0x3c, 0x24, 0x3f, 0x27, 0x44, 0x22, 0x48, 0x26, 0x43, 0x2b, 0x0b,
+       0x0a, 0x00, 0x02, 0x00, 0x01, 0x30, 0x26, 0x26, 0x01, 0x17, 0x84, 0x22,
+       0x04, 0x0a, 0x03, 0x01, 0x01, 0x30, 0x24, 0x24, 0x01, 0x17, 0x84, 0x22,
+       0x04, 0x0a, 0x01, 0x01, 0x00, 0x30, 0x24, 0x24, 0x01, 0x17, 0x84, 0x22,
+       0x04, 0x0a, 0x02, 0x01, 0x00, 0x20, 0x24, 0x24, 0x0a, 0x04, 0x01, 0x01,
+       0x20, 0x24, 0x24, 0x0a, 0x00, 0x01, 0x02, 0x30, 0x22, 0x22, 0x01, 0x17,
+       0x84, 0x22, 0x04, 0x0a, 0x05, 0x01, 0x02, 0x10, 0x01, 0x17, 0x84, 0x22,
+       0x04, 0x0a, 0x06, 0x01, 0x02, 0x00, 0x0a, 0x00, 0x01, 0x02, 0x12, 0xc0,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x4a,
+       0xbe, 0xe8, 0x4a, 0xc1, 0x17, 0x01, 0x17, 0x84, 0x22, 0x04, 0x0a, 0x05,
+       0x01, 0x02, 0x12, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0xc0, 0x00, 0x00, 0x4a, 0x9e, 0xe8, 0x4a, 0xa1, 0x17, 0x01, 0x17, 0x84,
+       0x22, 0x04, 0x0a, 0x06, 0x01, 0x02, 0x02, 0xc0, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x4a, 0x9e, 0xe8, 0x4a, 0xa1,
+       0x17
+};
+
+
 static const uint8 kZoomFitBest[] = {
        0x6e, 0x63, 0x69, 0x66, 0x05, 0x04, 0x00, 0x66, 0x05, 0x54, 0x02, 0x00,
        0x16, 0x02, 0x00, 0x00, 0x00, 0x3c, 0x80, 0x00, 0xc0, 0x00, 0x00, 0x00,
@@ -532,6 +560,7 @@
        { kGoPrevious, sizeof(kGoPrevious), NULL },
        { kGoUp, sizeof(kGoUp), NULL },
        { kViewFullScreen, sizeof(kViewFullScreen), NULL },
+       { kViewWindowed, sizeof(kViewWindowed), NULL },
        { kZoomFitBest, sizeof(kZoomFitBest), NULL },
        { kZoomFitViewBest, sizeof(kZoomFitViewBest), NULL },
        { kZoomIn, sizeof(kZoomIn), NULL },

Modified: haiku/trunk/src/apps/showimage/ToolBarIcons.h
===================================================================
--- haiku/trunk/src/apps/showimage/ToolBarIcons.h       2011-04-08 14:59:54 UTC 
(rev 41200)
+++ haiku/trunk/src/apps/showimage/ToolBarIcons.h       2011-04-08 15:00:25 UTC 
(rev 41201)
@@ -27,6 +27,7 @@
        kIconGoPrevious,
        kIconGoUp,
        kIconViewFullScreen,
+       kIconViewWindowed,
        kIconZoomFitBest,
        kIconZoomFitViewBest,
        kIconZoomIn,


Other related posts:

  • » [haiku-commits] r41201 - haiku/trunk/src/apps/showimage - superstippi