blob: 568662f1976d3303c58546b5998e01023be549ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2013 Red Hat, Inc.
*/
#ifndef NMT_NEWT_HACKS_H
#define NMT_NEWT_HACKS_H
#include <newt.h>
#ifndef HAVE_NEWTCOMPONENTGETSIZE
void newtComponentGetSize(newtComponent component, int *width, int *height);
void newtComponentGetPosition(newtComponent component, int *left, int *top);
#endif
#ifndef HAVE_NEWTENTRYGETCURSORPOSITION
int newtEntryGetCursorPosition(newtComponent component);
void newtEntrySetCursorPosition(newtComponent component, int position);
#endif
#endif /* NMT_NEWT_HACKS_H */
|