[haiku-commits] r43006 - haiku/trunk/src/apps/drivesetup

  • From: pulkomandy@xxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 30 Oct 2011 18:30:11 +0100 (CET)

Author: pulkomandy
Date: 2011-10-30 18:30:11 +0100 (Sun, 30 Oct 2011)
New Revision: 43006
Changeset: https://dev.haiku-os.org/changeset/43006

Modified:
   haiku/trunk/src/apps/drivesetup/Support.cpp
Log:
Patch by oco: use more regular look for size slider in DriveSetup partition
creation dialog. Thanks!


Modified: haiku/trunk/src/apps/drivesetup/Support.cpp
===================================================================
--- haiku/trunk/src/apps/drivesetup/Support.cpp 2011-10-30 17:00:50 UTC (rev 
43005)
+++ haiku/trunk/src/apps/drivesetup/Support.cpp 2011-10-30 17:30:11 UTC (rev 
43006)
@@ -102,7 +102,8 @@
        fEndOffset(maxValue),
        fMaxPartitionSize(maxValue)
 {
-       SetBarColor((rgb_color){ 0, 80, 255, 255 });
+       rgb_color fillColor = ui_color(B_CONTROL_HIGHLIGHT_COLOR);
+       UseFillColor(true, &fillColor);
        char minString[64];
        char maxString[64];
        snprintf(minString, sizeof(minString), B_TRANSLATE("Offset: %ld MB"),


Other related posts:

  • » [haiku-commits] r43006 - haiku/trunk/src/apps/drivesetup - pulkomandy