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:
parent
3035788398
commit
7909ce7304
@ -2146,7 +2146,7 @@ void Button_Secondary_palette(void)
|
||||
Num2str(Config.Palette_cells_Y,str,3);
|
||||
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);
|
||||
Print_in_window(157,89,str,MC_Black,MC_Light);
|
||||
|
||||
|
||||
12
text.c
12
text.c
@ -30,14 +30,14 @@
|
||||
|
||||
// TrueType
|
||||
#ifndef NOTTF
|
||||
#ifdef __macosx__
|
||||
#if defined(__macosx__)
|
||||
#include <SDL_ttf/SDL_ttf.h>
|
||||
#else
|
||||
#include <SDL_ttf.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#ifdef __macosx__
|
||||
#if defined(__linux__)
|
||||
#if defined(__macosx__)
|
||||
#include <Carbon/Carbon.h>
|
||||
#import <corefoundation/corefoundation.h>
|
||||
#import <sys/param.h>
|
||||
@ -95,7 +95,7 @@ void Add_font(const char *name)
|
||||
|
||||
// Détermination du type:
|
||||
|
||||
#ifdef __macosx__
|
||||
#if defined(__macosx__)
|
||||
|
||||
if (size < 6) return;
|
||||
|
||||
@ -141,7 +141,7 @@ void Add_font(const char *name)
|
||||
font->Is_bitmap = 1;
|
||||
break;
|
||||
default:
|
||||
#ifdef __macosx__
|
||||
#if defined(__macosx__)
|
||||
if(strcasecmp(&name[size-6], "dfont") == 0)
|
||||
{
|
||||
font->Is_truetype = 1;
|
||||
@ -285,7 +285,7 @@ void Init_text(void)
|
||||
strcat(directory_name, "fonts");
|
||||
For_each_file(directory_name, Add_font);
|
||||
|
||||
#ifdef __WIN32__
|
||||
#if defined(__WIN32__)
|
||||
// Parcours du répertoire systeme windows "fonts"
|
||||
#ifndef NOTTF
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user