Searched refs:wxGCPool (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk/ |
H A D | dcclient.cpp | 146 static wxGC *wxGCPool = NULL; variable 158 wxGCPool = (wxGC *)malloc(wxGCPoolSize * sizeof(wxGC)); 159 if (wxGCPool == NULL) 170 memset(wxGCPool, 0, wxGCPoolSize * sizeof(wxGC)); 177 if (wxGCPool[i].m_gc) 178 g_object_unref (wxGCPool[i].m_gc); 181 free(wxGCPool); 182 wxGCPool = NULL; 193 if (!wxGCPool[i].m_gc) 195 wxGCPool[ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk1/ |
H A D | dcclient.cpp | 157 static wxGC *wxGCPool = NULL; variable 169 wxGCPool = (wxGC *)malloc(wxGCPoolSize * sizeof(wxGC)); 170 if (wxGCPool == NULL) 181 memset(wxGCPool, 0, wxGCPoolSize * sizeof(wxGC)); 188 if (wxGCPool[i].m_gc) 189 gdk_gc_unref( wxGCPool[i].m_gc ); 192 free(wxGCPool); 193 wxGCPool = NULL; 204 if (!wxGCPool[i].m_gc) 206 wxGCPool[ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/x11/ |
H A D | dcclient.cpp | 109 static wxGC wxGCPool[GC_POOL_SIZE]; variable 113 memset( wxGCPool, 0, GC_POOL_SIZE*sizeof(wxGC) ); 120 if (wxGCPool[i].m_gc) 121 XFreeGC( wxGlobalDisplay(), wxGCPool[i].m_gc ); 129 if (!wxGCPool[i].m_gc) 131 wxGCPool[i].m_gc = XCreateGC( wxGlobalDisplay(), window, 0, NULL ); 132 XSetGraphicsExposures( wxGlobalDisplay(), wxGCPool[i].m_gc, FALSE ); 133 wxGCPool[i].m_type = type; 134 wxGCPool[i].m_used = false; 136 if ((!wxGCPool[ [all...] |
Completed in 41 milliseconds