summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/minilibc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/minilibc.c')
-rw-r--r--mdk-stage1/minilibc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mdk-stage1/minilibc.c b/mdk-stage1/minilibc.c
index d8ff88852..77b65accc 100644
--- a/mdk-stage1/minilibc.c
+++ b/mdk-stage1/minilibc.c
@@ -224,18 +224,18 @@ void printf(char * fmt, ...)
if (*chptr == '%')
{
*chptr++ = '\0';
- print_str(1, start);
+ print_str_init(1, start);
switch (*chptr++)
{
case 's':
strarg = va_arg(args, char *);
- print_str(1, strarg);
+ print_str_init(1, strarg);
break;
case 'd':
numarg = va_arg(args, int);
- print_int(1, numarg);
+ print_int_init(1, numarg);
break;
}
@@ -243,7 +243,7 @@ void printf(char * fmt, ...)
}
else
{
- print_str(1, start);
+ print_str_init(1, start);
start = NULL;
}
}
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
style "checkradiobutton" {
  engine "pixmap" {
    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "mdk-check_off.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "mdk-check_on.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "mdk-toggle_off.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "mdk-toggle_on.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = FOCUS
	recolorable     = TRUE
	overlay_file    = "focus.png"
	overlay_border  = { 4, 4, 4, 4 }
	overlay_stretch = TRUE
      }
  }
}

style "button"
{
  bg[NORMAL] = "#909090"

  engine "pixmap" 
    {
    image 
      {
        function        = FOCUS
	recolorable     = TRUE
	overlay_file    = "focus.png"
	overlay_border  = { 4, 4, 4, 4 }
	overlay_stretch = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	detail          = "buttondefault"
	shadow          = IN
	file            = "blueHeart-button_def.png"
	border          = { 9, 9, 9, 9 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = OUT
	file            = "mdk-button1.png"
	border          = { 7, 7, 7, 7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = OUT
	file            = "mdk-button1.png"
	border          = { 7, 7, 7, 7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = IN
	file            = "mdk-button4.png"
	border          = { 7, 7, 7, 7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "mdk-button4.png"
	border          = { 7, 7, 7, 7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = ACTIVE
	shadow          = IN
	file            = "mdk-button4.png"
	border          = { 7, 7, 7, 7 }
	stretch         = TRUE
      }
   }
}

style "window" 
{
  engine "pixmap" {
    image 
      {
	function        = FLAT_BOX
	recolorable     = TRUE
	file            = "mdk-Desktop-bg.png"
	stretch         = FALSE
      }
  }
}

style "any"
{
  base[NORMAL]	  = { 0.6, 0.6, 0.8 }
  bg[NORMAL]      = { 0.6, 0.6, 0.8 }
  bg[INSENSITIVE] = { 0.2, 0.2, 0.4 }
  base[INSENSITIVE]={ 0.2, 0.2, 0.4 }
  bg[ACTIVE]      = { 0.2, 0.2, 0.4 }
  bg[PRELIGHT]    = { 0.4, 0.4, 0.6 }
  
  text[NORMAL]	  = { 0, 0, 0 }
  fg[NORMAL]  	  = { 1.0, 1.0, 1.0 }
  fg[INSENSITIVE] = { 0.0, 0.0, 0.0 }
  text[INSENSITIVE]={ 1.0, 1.0, 1.0 }
  fg[ACTIVE]  	  = { 1.0, 1.0, 1.0 }
  fg[PRELIGHT]    = { 0.8, 0.8, 1.0 }

  bg[SELECTED] = { 1.0, 1.0, 1.0 }
  fg[SELECTED] = { 0.6, 0.6, 0.8 }
}

style "entry"
{
  base[NORMAL] = { 0.4, 0.4, 0.6 }
  base[ACTIVE] = { 0.4, 0.4, 0.6 }
  fg[NORMAL]   = { 1.0, 1.0, 1.0 }
}

style "notebook"
{
  bg[NORMAL]      = { 0.4, 0.4, 0.6 }
  bg[ACTIVE]      = { 0.2, 0.2, 0.4 }
  fg[NORMAL]      = { 1.0, 1.0, 1.0 }
}

style "button" = "any"
{
  bg[NORMAL] = { 0.4, 0.4, 0.6 }
  fg[NORMAL] = { 1.0, 1.0, 1.0 }
  bg[PRELIGHT] = { 0.36, 0.36, 0.56 }
  fg[PRELIGHT] = { 0.8, 0.8, 1.0 }
}

style "background"
{
  bg[NORMAL] = { 0.2, 0.2, 0.4 }
  bg[PRELIGHT] = { 0.8, 0.8, 0.99 }
}

style "steps"
{
  engine "pixmap" { image { function = FLAT_BOX } }
  bg[NORMAL] = { 0.4, 0.4, 0.6 }
  fg[NORMAL] = { 1.0, 1.0, 1.0 }
}

widget_class "GtkWindow" style "window"
widget_class "*" style "any"
widget_class "*GtkSpin*" style "entry"
widget_class "*GtkEntry*" style "entry"
widget_class "*Gtk*List*" style "entry"
widget_class "*GtkCTree*" style "entry"
widget_class "*GtkNotebook*" style "notebook"
widget "*GtkButton" style "button"
widget "*background*" style "background"

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"