mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
make it clearer just what the inputline params are
This commit is contained in:
parent
4b1ceb9795
commit
e2adc436db
2 changed files with 5 additions and 5 deletions
|
@ -22,8 +22,8 @@ typedef _inputline_t [] inputline_t;
|
|||
inputline_t il;
|
||||
}
|
||||
-free;
|
||||
-initAt:(Point)p Lines:(integer)l Size:(integer)s Prompt:(integer)prompt;
|
||||
-setWidth:(integer)width;
|
||||
-initAt:(Point)p HistoryLines:(integer)l LineSize:(integer)s PromptChar:(integer)prompt;
|
||||
-setWidth:(integer)visibleWidth;
|
||||
-process:(integer)key;
|
||||
-draw:(BOOL)cursor;
|
||||
-setText:(string)text;
|
||||
|
|
|
@ -19,7 +19,7 @@ string (inputline_t il) InputLine_GetText = #0;
|
|||
return [super free];
|
||||
}
|
||||
|
||||
-initAt:(Point)p Lines:(integer)l Size:(integer)s Prompt:(integer)prompt
|
||||
-initAt:(Point)p HistoryLines:(integer)l LineSize:(integer)s PromptChar:(integer)prompt
|
||||
{
|
||||
[super init];
|
||||
id(at) = [[Point alloc] initWithPoint:p];
|
||||
|
@ -28,9 +28,9 @@ string (inputline_t il) InputLine_GetText = #0;
|
|||
return self;
|
||||
}
|
||||
|
||||
-setWidth:(integer)width
|
||||
-setWidth:(integer)visibleWidth
|
||||
{
|
||||
InputLine_SetWidth (il, width);
|
||||
InputLine_SetWidth (il, visibleWidth);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue