Open main menu

CDOT Wiki β

Changes

Project R0.1 20131- OOP344

10 bytes removed, 17:45, 4 February 2013
Help
! Question!! Comments
|-
|Does ReadOnly if statement work like ESCAPE key ? (Store the string in another variable and replace it). ? And, how do you guys initialize the global variable for CIO_TABSIZE ? Do I need to specify the link in console.h file as well? (What I did was.. unsigned int CIO_TABSIZE=4 in console.cpp).: D || unsigned int CIO_TABSIZE = 4; in console.cpp and extern unsigned int CIO_TABSIZE; in console.h <hr /> ReadOnly does not work like the ESCAPE key in non text editior mode. It should prevent the user from making any modifications on str. For example: when the user presses the DEL key in Read only mode, it should not remove the character that is currently on the cursor. Instead the function should return the character DEL and do nothing to str. -- yhwong6
|-
|If IsTextEditor is true and the value of<u> *strOffset is changed at any time,</u> then terminate the edit function immediately and return 0; CAN SOMEONE explain what it means.. please : (|| It means when you move cursor to show the hidden characters or to hide shown characters(move to left or right) if IsTextEditor==True, then terminate the edit function; <br/>*strOffset is the number of characters of the left postion of string that not be displayed within the text-field. <br/>