Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

I want to control circular_gauge in GUIX.

$
0
0

UINT window2_handler(GX_WINDOW *widget, GX_EVENT *event_ptr)
{
  //GX_WINDOW p_splash_screen;
    UINT result = gx_window_event_process(widget, event_ptr);
   
//gx_studio_named_widget_create("TWindow",GX_NULL ,GX_NULL);
    GX_PROMPT * adc_Prompt = NULL;
    GX_CIRCULAR_GAUGE * gauge;
    switch (event_ptr->gx_event_type)
    {
        case GX_FIRST_APP_EVENT:         
          angle++;
        gx_widget_find(widget, gauge_ID, GX_SEARCH_DEPTH_INFINITE, &gauge);
        gx_circular_gauge_angle_set(gauge, angle);


            break;

}}

    

Above is my source, guix settings and images.
When you run the program, the image of Needle Pixelmap disappears.
If you clear gx_circular_gauge_angle_set (), it will not disappear.
What went wrong?

There is no coding related to gauge other than the above program source.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>