FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
io_gety.c
Go to the documentation of this file.
1
#include "../fb.h"
2
#include "
fb_private_console.h
"
3
4
int
fb_ConsoleGetRawYEx
(
HANDLE
hConsole )
5
{
6
CONSOLE_SCREEN_BUFFER_INFO info;
7
if
( GetConsoleScreenBufferInfo( hConsole, &info ) == 0 )
8
return
0;
9
return
info.dwCursorPosition.Y;
10
}
11
12
int
fb_ConsoleGetRawY
(
void
)
13
{
14
return
fb_ConsoleGetRawYEx
(
__fb_out_handle
);
15
}
16
17
int
fb_ConsoleGetY
(
void
)
18
{
19
int
y =
fb_ConsoleGetRawY
();
20
fb_hConvertFromConsole
(
NULL
, &y,
NULL
,
NULL
);
21
return
y;
22
}
rtlib
win32
io_gety.c
Generated on Thu Jan 23 2014 19:40:09 for FreeBASIC by
1.8.4