Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Help~~!!! Microwindows Text using GrText() disapear

Altera_Forum
Honored Contributor II
991 Views

My project is using Microwindows for the UI part now. But recently i met a really trick problem.  

 

My project's original design is displaying the screen to be horizontal. But now we are going to develp a new feture that can display the screen also as vertical.  

 

So i use the GrSetPortraitraitMode() API, which like beblow:  

 

if (!strCustomer.u8DisplayStyle) { GrSetPortraitMode(MWPORTRAIT_NONE); } else { GrSetPortraitMode(MWPORTRAIT_LEFT); }  

 

But the result shows the screen indeed truns to be vertical, but all the text disappear. we always use GrText() to draw these text string, but none of them show up. That is so weird. I don't even find a way to debug this problem.  

 

Did anyone meet this problem before? Any ideas will be appreciated. 

 

(BTW, I am very new here, don't know if i post this thread at the right place, just search any kind of help as i can, this problem is killing me, LOL)
0 Kudos
0 Replies
Reply