forked from pcman-bbs/pcmanx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Numbering Post-Push is a good function for discussion in one post. See the issue pcman-bbs#42(pcman-bbs#42). 1). Add a field PostPushNum in the line structure. The line structure: struct{ char[ColsPerPage], char='\0', CTermCharAttr[ColsPerPage, char=0]} [ ColsPerPage*char + '\0' + ColsPerPage*CTermCharAttr + PostPushNum ] 2). Detect Post-Push lines and numbering them whenever a character is added in the screen buffer of CTermData. 3). Save the number in PostPushNum of Post-Push lines. 4). Draw PostPushNum in CTermView:DrawChar(). 5). Fix a bug of buffer overflow in CTermData::InsertChar(). p.s. Though the function is not used now.
- Loading branch information
Showing
4 changed files
with
194 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters