Re: Convert float to gchar *
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: Convert float to gchar *
- Date: Sat, 11 Oct 2003 11:14:22 -0300
Quoted by a cadre of sexy elephants
For `"Laurent Houdusse" <l houdusse free fr>'
On Saturday, 11 October 2003 (16:04):
void RefreshFramePerSecond(void)
{
float fNbFps;
gchar *fps;
fNbFps = oDw3D.GetNbFps();
fps = g_strdup_printf("%.2f frames per second", fNbFps);
gtk_window_set_title(GTK_WINDOW(oWindow), fps);
g_free(fps);
}
--
Leandro Pereira (oO) <leandro linuxmag com br>
/||\ www.mindcrisis.tk
Pontualidade e a coincidencia de duas pessoas chegarem com o
mesmo atraso.
-- Leon Eliachar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]