im trying to write text using opengles in my N95. so i m trying to get help from following function:
void utilOutputText(CWindowGc & aGc, const TDesC &aString,
const TPoint &aPosition, const TRgb &aColor )
This function is included in Utils3d.cpp(Nokia openGL ES). When i try to write the coding like this
void CSlideshow::AppCycle( TInt aFrame,
TReal aDeltaTimeSecs )
void CSlideshow::display(const TRect& aRect) const
CWindowGc& gc = SystemGc();
gc.Clear( aRect );
_LIT(KLoading, "Hello Everyone");
utilOutputText(SystemGc(), KLoading, TPoint(Size().iWidth /2, Size().iHeight /5 ), KRgbBlack );
The problem seems to SystemGc() and Tpoint has not found any path/dependency.though i already add
following header files.
So any solution/comments to solve this....actually i want to display text/string using opengl ES in my program..
So is there any way to write this?