#include <ntmv/m2d.h>
void NTMV_M2dInitForFilePath(
NTMVM2dManualViewerInfo* pManualViewerInfo,
NNSFndAllocator* pAllocator,
const char* manualFilePath,
const char* uiResFilePath,
const NNSG2dFont *const fonts[]);
pManualViewerInfo |
Pointer to a structure that stores information used by the M2d library. |
pAllocator |
Pointer to the TWL-System allocator. |
manualFilePath |
Path to the binary file for the E-Manual. |
uiResFilePath |
Path to the resource file used by the M2d library. |
fonts |
Array of pointers to NNSG2dFont structures configured with the internal system fonts (TWL bitmap fonts) used to display the E-Manual. Pointers to font data must be set in the following order.Index 0: Large font Index 1: Medium font Index 2: Small font |
None.
Allocates memory and configures the hardware to display the E-Manual. The TWL-System allocator is used to handle memory allocation.
This function specifies the resource data by the M2d library and the E-Manual binary data as path strings to the ROM files. Use the NTMV_M2dInitForMem or NTMV_M2dInitForMemEx function to specify data in memory.
Unlike the NTMV_M2dInitForFilePathEx function, this function determines the display language for the E-Manual based on the language setting in System Settings. If an E-Manual binary file for the system's current language setting cannot be found, the manual is displayed using the topmost of the languages that were selected in TWL Manual Editor when the project was output to binary.
NTMV_M2dInitForFilePathEx
NTMV_M2dInitForMem
NTMV_M2dInitForMemEx
2008/12/12 Added an explanation of the differences between this function and the NTMV_M2dInitForFilePathEx function.
2008/11/19 Changed the type of the fonts argument from void* to NNSG2dFont*.
2008/10/15 Added an explanation regarding fonts.
2008/10/01 Initial version.
CONFIDENTIAL