It is currently Sat Apr 29, 2017 2:22 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Screen rotation changes font and background
Unread postPosted: Fri Oct 07, 2016 2:33 am 
Offline

Joined: Sun Sep 02, 2012 1:32 am
Posts: 17
Some times i like to program in landscape, but this changes the
font and my chosen background color goes to white.

Had this problem before which was rectified in past ver of
BASIC!

Dave


Top
 Profile  
 
 Post subject: Re: Screen rotation changes font and background
Unread postPosted: Mon Oct 17, 2016 7:58 pm 
Offline

Joined: Mon Dec 15, 2014 3:57 pm
Posts: 25
Yup it's like that but I bet you can program around it.


Top
 Profile  
 
 Post subject: Re: Screen rotation changes font and background
Unread postPosted: Mon Oct 17, 2016 10:39 pm 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Hi Dave, what mode are you talking: GR mode?
You need to keep doing a Gr.Render in a loop if you want to avoid the glitches you describe.
Even better: detect screen orientation change in a loop thanks to Gr.Screen (will return different width/height whether you're in portrait or landscape).

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Top
 Profile  
 
 Post subject: Re: Screen rotation changes font and background
Unread postPosted: Tue Oct 18, 2016 9:14 am 
Offline

Joined: Sun Sep 02, 2012 1:32 am
Posts: 17
Hi, sorry Nicolas i didn't explain very well.
This problem accurs in the code editor mode.
When the screen is in portrait my choosen font is
the monospace and the background i like to have light green.

When i rotate in landscape the code in the editor changes
to a different font and the background goes to white.

My phone is a Samsung Galaxy S3. OS 4.3
May be i need to buy a new phone.
This problem does'nt happen on my Nexus 10.

Dave


Top
 Profile  
 
 Post subject: Re: Screen rotation changes font and background
Unread postPosted: Tue Oct 18, 2016 10:36 am 
Offline
User avatar

Joined: Thu Jan 08, 2015 11:28 am
Posts: 1088
Location: .NET
that's not a BASIC! fault. it's your keyboard switching to a different input window because your screen is too small to properly display BASIC!'s

this happens on most devices in most apps, and is dependant on the keyboard app, not BASIC! if you don't want this to happen, get Hacker's Keyboard, it has a setting to disable this behaviour. :)

_________________
https://github.com/evolbug
http://toobasic.jimdo.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: [email protected] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred