xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Screen refresh in HP-UX - ITANIUM


From: Donato Lorenzo López
Subject: Re: [XForms] Screen refresh in HP-UX - ITANIUM
Date: Tue, 12 Apr 2011 07:31:10 +0000

Hi everyone,

 i was really surprised with so fast answer :)  I needed to be at customer's "home", to give you more information.

Origin Machine:
     - HP-UX B.11.23 (PA-RISC).
     - Compiling in 32-bit mode.
     - Working under X11R5.
     - XForms version: 0.88.
New Machine:
     - HP-UX B.11.31 (ITANIUM).
     - Compiling in 32-bit mode.
     - Working under X11R6.
     - OpenGL: B6836AA B.11.22.01 HP-UX 3D Graphics API Runtime and Developer's Kit
     - XForms version: 1.0.93sp1 (with JPeg 8, from ijg.org).


The object that "blinks"
, is created like that:
                     (...)
                     FL_OBJECT * lstQuery;
                     (...)
                     FL_OBJECT *obj;
                     lstQuery = obj = fl_add_browser( FL_HOLD_BROWSER, 20, 190, 920, 430, "" );
                     fl_set_object_color( obj, FL_LEFT_BCOL, FL_DARKORANGE );
                     fl_set_object_lsize( obj, FL_MEDIUM_SIZE );
                     fl_set_object_lstyle( obj, 15 );
                     fl_set_object_callback( obj, Consulta_Sel, 0 );
                     (...)
                     fl_set_browser_fontstyle(fd_frmConsultas->lstConsulta,FL_FIXEDBOLD_STYLE);
                     fl_set_browser_fontsize(fd_frmConsultas->lstConsulta,14);

And then, the steps to fill it with data is :

                     fl_clear_browser(lstQuery);
                     (...)
                     while () {
                               
sprintf(strValues,"%-6.6d  %-10.10s ...", value1, value2, ...;
                                fl_add_browser_line(lstQuery, strValues);
                     }

The problem is refreshing the browser inside this while {}. It's kind of slow repainting the object.

Do you need more info?

Thanks a lot!!

Donato.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]