tpl - IconSample Demo

Description

This sample demonstrates the typical usage of the TPL library.
The upper screen displays a 48 x 48 pixel icon, and the lower screen displays a 24 x 24 pixel icon.

Required Environment

None.

How to Use

None.

Notes

None.

Execution Procedure

When this demo is run, it displays the following log.

Reading data from ROMFS...
  fileSize = 4608 (Byte)
  readSize = 4608 (Byte)
width = 48, height = 48, size = 4608
TextureInfo Padding width = 64, height = 64
GenerateTexture() width = 48, height = 48 
  New Texture0Id = 2

Reading data from ROMFS...
  fileSize = 1152 (Byte)
  readSize = 1152 (Byte)
width = 24, height = 24, size = 1152
TextureInfo Padding width = 32, height = 32
GenerateTexture() width = 48, height = 48 
  New Texture1Id = 3

The following icons are displayed on the upper and lower screens.

There is no shutdown procedure. Stop execution in a timely manner.

Revision History

2011/01/10
Initial version.

CONFIDENTIAL