You Are Here:

S60 5th Edition: Mobile Paint Example

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Wiki article of the week

Parsing XML files with NanoXML

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

Forum Nokia Qt for Mobile Developers Training
November 05, 2009
Palo Alto, California

Maemo™ Developer Day and Forum Nokia Qt for Mobile Developers Training
November 18, 2009
Copenhagen, Denmark

Mobile VAS Conference
November 19, 2009
St. Petersburg, Russia

Under the Radar: Mobility
November 19, 2009
Mountain View, California

How to Publish Content in Ovi Store (In Portuguese)
November 19, 2009
11am New York, 2pm San Paolo, 3pm Azores


View all
description:

This C++ code example demonstrates drawing and other touch UI features of S60 5th Edition with direct manipulation using, for example, CCoeControl::EnableDragEvents(). The application provides a number of drawing options that can be selected from a toolbar. There are two toolbar options, CAknToolbar and a custom floating toolbar. All application graphics have been implemented as Scalable Vector Graphics Tiny (SVGT) icons. In the updated version, the drawing performance has been improved and the functionality of the UI components fine-tuned. The example application has been developed for S60 5th Edition and touch UI.

Important classes: CCoeControl, MTouchFeedback, CFbsBitmap, CFbsBitGc, CFbsBitmapDevice, CAknToolbar, CAknToolbarExtension, MAknToolbarObserver.


type: Example
topics: Graphics
S60
     S60 5th Edition
Symbian C++
UI
     Touch UI
intended audience: Intermediate

http://sw.nokia.com/FN-1/Type/Example S60 5th Edition: Mobile Paint Example v1.1

This updated C++ code example demonstrates drawing and other touch UI features of S60 5th Edition with direct manipulation using, for example, CCoeControl::EnableDragEvents(). The application provides a number of drawing options that can be selected from a toolbar. There are two toolbar options, CAknToolbar and a custom floating toolbar. All application graphics have been implemented as Scalable Vector Graphics Tiny (SVGT) icons. In the updated version, the drawing performance has been improved and the functionality of the UI components fine-tuned. The example application has been developed for S60 5th Edition and touch UI. Important classes: CCoeControl, MTouchFeedback, CFbsBitmap, CFbsBitGc, CFbsBitmapDevice, CAknToolbar, CAknToolbarExtension, MAknToolbarObserver.

27-Feb-2009


Download

see also: S60 5th Edition: Solitaire Game Example


Additional information

distribution: Forum Nokia Global Web Site
S60 Web Site
rights: Copyright © 2008-2009 Nokia Corporation.

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
User Rating: qfnZuserE5FratingQNx4E2E6667X
RDF Facets: qdcZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20drawingE20andE20otherE20touchE20UIE20featuresE20ofE20S60E205thE20E45ditionE20withE20directE20manipulationE20usingE2cE20forE20eE78ampleE2cE20CCoeControlE3aE3aE45nableE44ragE45ventsE28E29E2eE20TheE20applicationE20providesE20aE20numberE20ofE20drawingE20optionsE20thatE20canE20beE20selectedE20fromE20aE20toolbarE2eE20ThereE20areE20twoE20toolbarE20optionsE2cE20CAknToolbarE20andE20aE20customE20floatingE20toolbarE2eE20AllE20applicationE20graphicsE20haveE20beenE20implementedE20asE20ScalableE20VectorE20GraphicsE20TinyE20E28SVGTE29E20iconsE2eE20InE20theE20updatedE20versionE2cE20theE20drawingE20performanceE20hasE20beenE20improvedE20andE20theE20functionalityE20ofE20theE20UIE20componentsE20fineE2dtunedE2eE20TheE20eE78ampleE20applicationE20hasE20beenE20developedE20forE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20CCoeControlE2cE20MTouchFeedbackE2cE20CFbsBitmapE2cE20CFbsBitGcE2cE20CFbsBitmapE44eviceE2cE20CAknToolbarE2cE20CAknToolbarE45E78tensionE2cE20MAknToolbarObserverE2eX qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ff63ebb0aE2d3ceeE2d4a02E2db4f6E2d6c9090bfddc9E2fS60E5f5thE5fE45ditionE5fMobileE5fPaintE5fE45E78ampleX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6e12c32aE2d5c7fE2d4829E2d8dfbE2dba7aaaca63faE2fS60E5f5thE5fE45ditionE5fSolitaireE5fGameE5fE45E78ampleX qdcZtitleQSxS60E205thE20E45ditionE3aE20MobileE20PaintE20E45E78ampleX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfnZE45E78cludedFromSearchQ qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfnTypeZApplicationQ qdcZtypeQUqfnTypeZE45E78ampleQ qdcZtypeQUqfnTypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaObjectQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20drawingE20andE20otherE20touchE20UIE20featuresE20ofE20S60E205thE20E45ditionE20withE20directE20manipulationE20usingE2cE20forE20eE78ampleE2cE20CCoeControlE3aE3aE45nableE44ragE45ventsE28E29E2eE20TheE20applicationE20providesE20aE20numberE20ofE20drawingE20optionsE20thatE20canE20beE20selectedE20fromE20aE20toolbarE2eE20ThereE20areE20twoE20toolbarE20optionsE2cE20CAknToolbarE20andE20aE20customE20floatingE20toolbarE2eE20AllE20applicationE20graphicsE20haveE20beenE20implementedE20asE20ScalableE20VectorE20GraphicsE20TinyE20E28SVGTE29E20iconsE2eE20InE20theE20updatedE20versionE2cE20theE20drawingE20performanceE20hasE20beenE20improvedE20andE20theE20functionalityE20ofE20theE20UIE20componentsE20fineE2dtunedE2eE20TheE20eE78ampleE20applicationE20hasE20beenE20developedE20forE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20CCoeControlE2cE20MTouchFeedbackE2cE20CFbsBitmapE2cE20CFbsBitGcE2cE20CFbsBitmapE44eviceE2cE20CAknToolbarE2cE20CAknToolbarE45E78tensionE2cE20MAknToolbarObserverE2eX qrssZtitleQSxS60E205thE20E45ditionE3aE20MobileE20PaintE20E45E78ampleX qeditorZdescriptionE5fcreatedQDx2008E2d10E2d31T14E3a13E3a13E5aX qeditorZdescriptionE5fmodifiedQDx2009E2d02E2d27T06E3a27E3a01E5aX qeditorZtypeQUqfnTypeZApplicationQ qeditorZtypeQUqfnTypeZE45E78ampleQ qeditorZtypeQUqfnTypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZpublishedQDx2009E2d02E2d27T00E3a00E3a00E5aX qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZgraphicsQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZtouchE5fuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfnTypeZApplicationQ qfnZtypeQUqfnTypeZE45E78ampleQ qfnZtypeQUqfnTypeZE52esourceQ qfnZusE5foriginQLqE78sdZbooleanQxtrueX qfnZE78mlE5fdescriptionQXxE0aE3cspanE20E78mlnsE3dE22httpE3aE2fE2fwwwE2ew3E2eorgE2f1999E2fE78htmlE22E3eE3cpE3eE3cimgE20altE3dE22E22E20hspaceE3dE2212E22E20alignE3dE22rightE22E20srcE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fpicsE2fMobileE5fPaintE5fv1E5f1E2ejpgE22E3eE3cE2fimgE3eE20ThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20drawingE20andE20otherE20touchE20UIE20featuresE20ofE20S60E205thE20E45ditionE20withE20directE20manipulationE20usingE2cE20forE20eE78ampleE2cE20CCoeControlE3aE3aE45nableE44ragE45ventsE28E29E2eE20TheE20applicationE20providesE20aE20numberE20ofE20drawingE20optionsE20thatE20canE20beE20selectedE20fromE20aE20toolbarE2eE20ThereE20areE20twoE20toolbarE20optionsE2cE20CAknToolbarE20andE20aE20customE20floatingE20toolbarE2eE20AllE20applicationE20graphicsE20haveE20beenE20implementedE20asE20ScalableE20VectorE20GraphicsE20TinyE20E28SVGTE29E20iconsE2eE20InE20theE20updatedE20versionE2cE20theE20drawingE20performanceE20hasE20beenE20improvedE20andE20theE20functionalityE20ofE20theE20UIE20componentsE20fineE2dtunedE2eE20TheE20eE78ampleE20applicationE20hasE20beenE20developedE20forE20S60E205thE20E45ditionE20andE20touchE20UIE2eE3cbrE3eE3cE2fbrE3eE3cbrE3eE3cE2fbrE3eImportantE20classesE3aE20CCoeControlE2cE20MTouchFeedbackE2cE20CFbsBitmapE2cE20CFbsBitGcE2cE20CFbsBitmapE44eviceE2cE20CAknToolbarE2cE20CAknToolbarE45E78tensionE2cE20MAknToolbarObserverE2eE3cE2fpE3eE3cE2fspanE3eE20E20E20E20E20E20X qmarsZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20drawingE20andE20otherE20touchE20UIE20featuresE20ofE20S60E205thE20E45ditionE20withE20directE20manipulationE20usingE2cE20forE20eE78ampleE2cE20CCoeControlE3aE3aE45nableE44ragE45ventsE28E29E2eE20TheE20applicationE20providesE20aE20numberE20ofE20drawingE20optionsE20thatE20canE20beE20selectedE20fromE20aE20toolbarE2eE20ThereE20areE20twoE20toolbarE20optionsE2cE20CAknToolbarE20andE20aE20customE20floatingE20toolbarE2eE20AllE20applicationE20graphicsE20haveE20beenE20implementedE20asE20ScalableE20VectorE20GraphicsE20TinyE20E28SVGTE29E20iconsE2eE20InE20theE20updatedE20versionE2cE20theE20drawingE20performanceE20hasE20beenE20improvedE20andE20theE20functionalityE20ofE20theE20UIE20componentsE20fineE2dtunedE2eE20TheE20eE78ampleE20applicationE20hasE20beenE20developedE20forE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20CCoeControlE2cE20MTouchFeedbackE2cE20CFbsBitmapE2cE20CFbsBitGcE2cE20CFbsBitmapE44eviceE2cE20CAknToolbarE2cE20CAknToolbarE45E78tensionE2cE20MAknToolbarObserverE2eX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6c405380E2d2732E2d4b90E2dbf14E2da808f50af98cE2fS60E5f5thE5fE45ditionE5fMobileE5fPaintE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f984172eeE2dbe7aE2d4ca0E2dbef2E2d1f56c71ff000E2fS60E5f5thE5fE45ditionE5fMobileE5fPaintE5fE45E78ampleE5fv1E5f1E5fenE2ezipX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZtitleQSxS60E205thE20E45ditionE3aE20MobileE20PaintE20E45E78ampleX qncZrightsQSxCopyrightE20Ea9E202008E2d2009E20NokiaE20CorporationE2eX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfnZE45E78cludedFromSearchQ qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfnTypeZApplicationQ qrdfZtypeQUqfnTypeZE45E78ampleQ qrdfZtypeQUqfnTypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaObjectQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6e12c32aE2d5c7fE2d4829E2d8dfbE2dba7aaaca63faE2fS60E5f5thE5fE45ditionE5fSolitaireE5fGameE5fE45E78ampleX