mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+5
-5
@@ -90,7 +90,7 @@ UINT16 GetTextInputCursor();
|
||||
//of calls to this function dictate the TAB order from traversing from one field to the next. This
|
||||
//function adds mouse regions and processes them for you, as well as deleting them when you are done.
|
||||
void AddTextInputField( INT16 sLeft, INT16 sTop, INT16 sWidth, INT16 sHeight, INT8 bPriority,
|
||||
wchar_t *szInitText, UINT8 ubMaxChars, UINT16 usInputType );
|
||||
STR16 szInitText, UINT8 ubMaxChars, UINT16 usInputType );
|
||||
|
||||
//This allows you to insert special processing functions and modes that can't be determined here. An example
|
||||
//would be a file dialog where there would be a file list. This file list would be accessed using the Win95
|
||||
@@ -113,13 +113,13 @@ void RemoveTextInputField( UINT8 ubField );
|
||||
//This is a useful call made from an external user input field. Using the previous file dialog example, this
|
||||
//call would be made when the user selected a different filename in the list via clicking or scrolling with
|
||||
//the arrows, or even using alpha chars to jump to the appropriate filename.
|
||||
void SetInputFieldStringWith16BitString( UINT8 ubField, wchar_t *szNewText );
|
||||
void SetInputFieldStringWith16BitString( UINT8 ubField, const STR16 szNewText );
|
||||
|
||||
void SetInputFieldStringWith8BitString( UINT8 ubField, UINT8 * szNewText );
|
||||
void SetInputFieldStringWith8BitString( UINT8 ubField, const STR8 szNewText );
|
||||
|
||||
//Allows external functions to access the strings within the fields at anytime.
|
||||
void Get8BitStringFromField( UINT8 ubField, UINT8 *szString );
|
||||
void Get16BitStringFromField( UINT8 ubField, wchar_t *szString );
|
||||
void Get8BitStringFromField( UINT8 ubField, STR8 szString );
|
||||
void Get16BitStringFromField( UINT8 ubField, STR16 szString );
|
||||
|
||||
//Utility functions for the INPUTTYPE_EXCLUSIVE_24HOURCLOCK input type.
|
||||
UINT16 GetExclusive24HourTimeValueFromField( UINT8 ubField );
|
||||
|
||||
Reference in New Issue
Block a user