Ticket #554: mbitter.debug.patch

File mbitter.debug.patch, 1.8 KB (added by thomas0782, 10 years ago)
  • navit/graphics/win32/graphics_win32.c

     
    237231    hdc = GetDC( gr->wnd_handle );
    238232    // Creates memory DC
    239233    gr->hMemDC = CreateCompatibleDC(hdc);
    240     dbg(0, "resize memDC to: %d %d \n", gr->width, gr->height );
     234    dbg(1, "resize memDC to: %d %d \n", gr->width, gr->height );
    241235
    242236
    243237#ifndef  FAST_TRANSPARENCY
     
    369363            gra_priv->width = LOWORD( lParam );
    370364            gra_priv->height  = HIWORD( lParam );
    371365            create_memory_dc(gra_priv);
    372             dbg(0, "resize gfx to: %d %d \n", gra_priv->width, gra_priv->height );
     366            dbg(1, "resize gfx to: %d %d \n", gra_priv->width, gra_priv->height );
    373367            callback_list_call_attr_2(gra_priv->cbl, attr_resize, (void *)gra_priv->width, (void *)gra_priv->height);
    374368        }
    375369        break;
     
    15261559{
    15271560    MSG msg;
    15281561
    1529     dbg(0,"enter\n");
     1562    dbg(1,"enter\n");
    15301563    while (GetMessage(&msg, 0, 0, 0))
    15311564    {
    15321565        TranslateMessage(&msg);       /*  Keyboard input.      */
     
    15371570
    15381571static void event_win32_main_loop_quit(void)
    15391572{
    1540     dbg(0,"enter\n");
     1573    dbg(1,"enter\n");
    15411574#ifdef HAVE_API_WIN32_CE
    15421575    HWND hwndTaskbar = FindWindow(L"HHTaskBar", NULL);
    15431576    HWND hwndSip = FindWindow(L"MS_SIPBUTTON", NULL);
     
    15531586static struct event_watch *
    15541587            event_win32_add_watch(void *h, enum event_watch_cond cond, struct callback *cb)
    15551588{
    1556     dbg(0,"enter\n");
     1589    dbg(1,"enter\n");
    15571590    return NULL;
    15581591}
    15591592
    15601593static void
    15611594event_win32_remove_watch(struct event_watch *ev)
    15621595{
    1563     dbg(0,"enter\n");
     1596    dbg(1,"enter\n");
    15641597}
    15651598
    15661599static GList *timers;