Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
increase the Font on the Blue screen? #400981
05/10/12 17:15
05/10/12 17:15
Joined: May 2012
Posts: 5
Texas
V
vmars316 Offline OP
Newbie
vmars316  Offline OP
Newbie
V

Joined: May 2012
Posts: 5
Texas
Greets,
I downloaded your software (v8), and am on script-02.c tutorial.
Great tutorial !
Pls, how can I increase the Font on the Blue screen?
It is very tiny .
Thanks...vm

Re: increase the Font on the Blue screen? [Re: vmars316] #400982
05/10/12 17:30
05/10/12 17:30
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
This aspect is covered in Workshop 7.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: increase the Font on the Blue screen? [Re: Superku] #400991
05/10/12 19:32
05/10/12 19:32
Joined: May 2012
Posts: 5
Texas
V
vmars316 Offline OP
Newbie
vmars316  Offline OP
Newbie
V

Joined: May 2012
Posts: 5
Texas
Thanks,
This works to change the Font: "Arial#24b"
But not so good for line spacing. Lines overlap.
I tried blank_line per script07.c but got errors.
And searched for "line feed", "blank line", etc.. but no such.
Thanks...vm

////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

var a = 0;
var b = 0;
var c = 0;

/////////////////////////////////////////////////////////////////////

PANEL* panDisplay =
{
digits(35, 10, "a = %0.f", "Arial#24b", 1, a);
digits(35, 19, "b = %0.f", "Arial#24b", 1, b);
digits(35, 28, "c = %0.f", "Arial#24b", 1, c);
flags = SHOW;
}

/////////////////////////////////////////////////////////////////////

function main()
{
screen_size.x = 800;
screen_size.y = 600;
screen_color.blue = 150; // and make its background dark blue
while (1)
{
c = a + b;
wait (1);
}
}

Re: increase the Font on the Blue screen? [Re: vmars316] #400995
05/10/12 20:25
05/10/12 20:25
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
You need to change the vertical distance between the three digits, too:
digits(35, 10, ...);
digits(35, increase this value, ...);
digits(35, ...

Alternatively, you can use a TEXT object and convert the numbers into strings of this text. The advantage is that you do not have to care about the right line spacing, but it's more work.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: increase the Font on the Blue screen? [Re: Superku] #401002
05/10/12 22:59
05/10/12 22:59
Joined: May 2012
Posts: 5
Texas
V
vmars316 Offline OP
Newbie
vmars316  Offline OP
Newbie
V

Joined: May 2012
Posts: 5
Texas
Thanks...vm


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1