logo资料库

Getting Started With JUCE 无水印pdf.pdf

第1页 / 共155页
第2页 / 共155页
第3页 / 共155页
第4页 / 共155页
第5页 / 共155页
第6页 / 共155页
第7页 / 共155页
第8页 / 共155页
资料共155页,剩余部分请下载后查看
Cover
Table of Contents
Getting Started With JUCE
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Installing JUCE and the Introjucer Application
Installing JUCE for Mac OS X and Windows
Building and running the JUCE Demo application
Running the JUCE Demo application on Windows
Running the JUCE Demo application on Mac OS X
The JUCE Demo application overview
Customizing the look and feel
Building and running the Introjucer application
Building the Introjucer application on Windows
Building the Introjucer application on Mac OS X
Examining the JUCE Demo Introjucer project
Creating a JUCE project with the Introjucer application
Documentation and other examples
Summary
2. Building User Interfaces
Creating buttons, sliders, and other components
Adding child components
Responding to user interaction and changes
Broadcasters and listeners
Filtering data entry
Using other component types
Specifying colors
Component color IDs
Setting colors using the LookAndFeel class
Using drawing operations
Intercepting mouse activity
Configuring complex component arrangements
Other component types
Summary
3. Essential Data Structures
Understanding the numerical types
Specifying and manipulating text strings
Posting log messages to the console
String manipulation
Measuring and displaying time
Displaying and formatting time information
Manipulating time data
Measuring time
Specifying file paths
Accessing various special directory locations
Obtaining various information about files
Other special locations
Navigating directory structures
Using dynamically allocated arrays
Finding the files in a directory
Tokenizing strings
Arrays of components
Using the OwnedArray class
Other banks of controls
Employing smart pointer classes
Summary
4. Using Media Files
Using simple input and output streams
Reading and writing text files
Reading and writing binary files
Reading and writing image files
Manipulating image data
Playing audio files
Creating a GUI to control audio file play
Adding audio file playback support
Working with the Binary Builder tool
Embedding an image file using the Introjucer application
Summary
5. Helpful Utilities
Using the dynamically typed objects
Using the Value class
Structuring hierarchical data
Employing undo management
Adding XML support
Understanding how JUCE handles multiple threads
Storing application properties
Adding menu bar controls
Summary
Index
Table of Contents Getting Started With JUCE Credits About the Author About the Reviewers www.PacktPub.com Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions Support files, eBooks, discount offers, and more Why Subscribe? Free Access for Packt account holders 1. Installing JUCE and the Introjucer Application Installing JUCE for Mac OS X and Windows Building and running the JUCE Demo application Running the JUCE Demo application on Windows Running the JUCE Demo application on Mac OS X The JUCE Demo application overview Customizing the look and feel Building and running the Introjucer application Building the Introjucer application on Windows Building the Introjucer application on Mac OS X Examining the JUCE Demo Introjucer project Creating a JUCE project with the Introjucer application Documentation and other examples Summary 2. Building User Interfaces Creating buttons, sliders, and other components Adding child components Responding to user interaction and changes Broadcasters and listeners Filtering data entry Using other component types Specifying colors Component color IDs Setting colors using the LookAndFeel class
Using drawing operations Intercepting mouse activity Configuring complex component arrangements Other component types Summary 3. Essential Data Structures Understanding the numerical types Specifying and manipulating text strings Posting log messages to the console String manipulation Measuring and displaying time Displaying and formatting time information Manipulating time data Measuring time Specifying file paths Accessing various special directory locations Obtaining various information about files Other special locations Navigating directory structures Using dynamically allocated arrays Embedding an image file using the Introjucer application Summary 5. Helpful Utilities Using the dynamically typed objects Using the Value class Structuring hierarchical data Employing undo management Adding XML support Understanding how JUCE handles multiple threads Storing application properties Finding the files in a directory Tokenizing strings Arrays of components Using the OwnedArray class Other banks of controls Employing smart pointer classes Summary 4. Using Media Files Using simple input and output streams Reading and writing text files Reading and writing binary files Reading and writing image files Manipulating image data Playing audio files Creating a GUI to control audio file play Adding audio file playback support Working with the Binary Builder tool
Adding menu bar controls Summary Index
Getting Started With JUCE
Getting Started With JUCE Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: October 2013 Production Reference: 1211013 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78328-331-6 www.packtpub.com Cover Image by Aniket Sawant ()
Credits Author Martin Robinson Reviewers Michael Hetrick Liam Lacey Owen S. Vallis Acquisition Editors Ashwin Nair Usha Iyer Lead Technical Editor Mohammed Fahad Technical Editor Menza Mathew Project Coordinator Suraj Bist Proofreader Clyde Jenkins Indexer Hemangini Bari Graphics Yuvraj Mannari Production Coordinator Pooja Chiplunkar Cover Work
Pooja Chiplunkar
分享到:
收藏