Please correct me if I'm wrong, but I don't think we gain anything
from declaring _PurpleBlah versions of enums if we do a typedef
at the same time. I don't think it's necessary.
Fixes #4475
/**
* @file gntutils.h Some utility functions
* @ingroup gnt
*/
/*
* GNT - The GLib Ncurses Toolkit
*
* GNT is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include<glib.h>
#include"gnt.h"
#include"gnttextview.h"
#include"gntwidget.h"
typedefgpointer(*GDupFunc)(gconstpointerdata);
/**
* Compute the width and height required to view the text on the screen.
*
* @param text The text to be displayed.
* @param width The width required is set here, if not @c NULL.
* @param height The height required is set here, if not @c NULL.