2020-12-23 22:21:36 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-12-02 16:20:26 -05:00
|
|
|
/*
|
2019-10-01 09:20:35 +02:00
|
|
|
* Copyright (C) 2013 Red Hat, Inc.
|
2013-12-02 16:20:26 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#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 */
|