Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
C++ Application Development with Code::Blocks

You're reading from   C++ Application Development with Code::Blocks Using Code::Blocks it's possible for C++ developers to create application consistency across multiple platforms. This book takes you through the process from installation to implementing advanced features, all with a user-friendly approach.

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher
ISBN-13 9781783283415
Length 128 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
BIPLAB MODAK BIPLAB MODAK
Author Profile Icon BIPLAB MODAK
BIPLAB MODAK
Arrow right icon
View More author details
Toc

Developing MyPaint – an image viewer


We will develop an image viewer app as an exercise in this chapter. Our image viewer app shall have the following features:

  • It shall open .jpeg, .png, and .bmp files

  • It shall allow user to zoom in and out of the loaded image at an interval of 10 percent

  • Zoom range shall be within 10 percent to 200 percent

  • There shall be keyboard shortcuts assigned to most commands

  • There shall be toolbar to provide access to commonly used functions

  • The app shall be developed using wxSmith plugin of Code::Blocks

  • The app shall use wxWidgets toolkit

Our app shall look like the following screenshot. The following screenshot shows our image viewer app has opened the Koala.jpg file (part of Windows 7 standard wallpaper set) with a zoom level set at 60 percent.

Looks interesting, doesn't it? Let us begin our exercise and solve it. We'll do it in two steps.

  1. Understand the structure of our image viewer app.

  2. Begin app development with Code::Blocks.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image