Made RGB scaler a bit larger in palette secondary screen.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@774 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2009-05-04 20:24:13 +00:00
parent 3035788398
commit 7909ce7304
2 changed files with 7 additions and 7 deletions

View File

@ -2146,7 +2146,7 @@ void Button_Secondary_palette(void)
Num2str(Config.Palette_cells_Y,str,3); Num2str(Config.Palette_cells_Y,str,3);
Print_in_window(94,89,str,MC_Black,MC_Light); Print_in_window(94,89,str,MC_Black,MC_Light);
rgb_scale_slider = Window_set_scroller_button(137,73,29,254,1,256-RGB_scale);// 7 rgb_scale_slider = Window_set_scroller_button(137,58,60,254,1,256-RGB_scale);// 7
Num2str(RGB_scale,str,3); Num2str(RGB_scale,str,3);
Print_in_window(157,89,str,MC_Black,MC_Light); Print_in_window(157,89,str,MC_Black,MC_Light);

12
text.c
View File

@ -30,14 +30,14 @@
// TrueType // TrueType
#ifndef NOTTF #ifndef NOTTF
#ifdef __macosx__ #if defined(__macosx__)
#include <SDL_ttf/SDL_ttf.h> #include <SDL_ttf/SDL_ttf.h>
#else #else
#include <SDL_ttf.h> #include <SDL_ttf.h>
#endif #endif
#ifdef __linux__ #if defined(__linux__)
#ifdef __macosx__ #if defined(__macosx__)
#include <Carbon/Carbon.h> #include <Carbon/Carbon.h>
#import <corefoundation/corefoundation.h> #import <corefoundation/corefoundation.h>
#import <sys/param.h> #import <sys/param.h>
@ -95,7 +95,7 @@ void Add_font(const char *name)
// Détermination du type: // Détermination du type:
#ifdef __macosx__ #if defined(__macosx__)
if (size < 6) return; if (size < 6) return;
@ -141,7 +141,7 @@ void Add_font(const char *name)
font->Is_bitmap = 1; font->Is_bitmap = 1;
break; break;
default: default:
#ifdef __macosx__ #if defined(__macosx__)
if(strcasecmp(&name[size-6], "dfont") == 0) if(strcasecmp(&name[size-6], "dfont") == 0)
{ {
font->Is_truetype = 1; font->Is_truetype = 1;
@ -285,7 +285,7 @@ void Init_text(void)
strcat(directory_name, "fonts"); strcat(directory_name, "fonts");
For_each_file(directory_name, Add_font); For_each_file(directory_name, Add_font);
#ifdef __WIN32__ #if defined(__WIN32__)
// Parcours du répertoire systeme windows "fonts" // Parcours du répertoire systeme windows "fonts"
#ifndef NOTTF #ifndef NOTTF
{ {