Home
last modified time | relevance | path

Searched refs:ncolours (Results 1 – 12 of 12) sorted by relevance

/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Drdp.c1172 in_uint16_le(s, map.ncolours); in process_palette()
1175 map.colours = (COLOURENTRY *) malloc(sizeof(COLOURENTRY) * map.ncolours); in process_palette()
1179 in_uint8s(s, sizeof(*entry) * map.ncolours); in process_palette()
1183 DEBUG(("PALETTE(c=%d)\n", map.ncolours)); in process_palette()
1185 for (i = 0; i < map.ncolours; i++) in process_palette()
H A Dtypes.h68 uint16 ncolours; member
H A Dorders.c1130 in_uint16_le(s, map.ncolours); in process_colcache()
1132 map.colours = (COLOURENTRY *) malloc(sizeof(COLOURENTRY) * map.ncolours); in process_colcache()
1136 in_uint8s(s, map.ncolours * 4); in process_colcache()
1140 for (i = 0; i < map.ncolours; i++) in process_colcache()
1149 DEBUG(("COLCACHE(id=%d,n=%d)\n", cache_id, map.ncolours)); in process_colcache()
H A Dxwin.c2407 int i, ncolours = colours->ncolours; in ui_create_colourmap() local
2410 uint32 *map = (uint32 *) xmalloc(sizeof(*This->xwin.colmap) * ncolours); in ui_create_colourmap()
2415 for (i = 0; i < ncolours; i++) in ui_create_colourmap()
2486 xcolours = (XColor *) xmalloc(sizeof(XColor) * ncolours); in ui_create_colourmap()
2487 for (i = 0; i < ncolours; i++) in ui_create_colourmap()
2496 XStoreColors(This->display, map, xcolours, ncolours); in ui_create_colourmap()
/reactos/base/applications/mstsc/
H A Dtypes.h66 uint16 ncolours; member
H A Drdp.c1303 in_uint16_le(s, map.ncolours); in process_palette()
1306 map.colours = (COLOURENTRY *) xmalloc(sizeof(COLOURENTRY) * map.ncolours); in process_palette()
1308 DEBUG(("PALETTE(c=%d)\n", map.ncolours)); in process_palette()
1310 for (i = 0; i < map.ncolours; i++) in process_palette()
H A Dorders.c1097 in_uint16_le(s, map.ncolours); in process_colcache()
1099 map.colours = (COLOURENTRY *) xmalloc(sizeof(COLOURENTRY) * map.ncolours); in process_colcache()
1101 for (i = 0; i < map.ncolours; i++) in process_colcache()
1110 DEBUG(("COLCACHE(id=%d,n=%d)\n", cache_id, map.ncolours)); in process_colcache()
H A Duimain.c341 n = MIN(256, colours->ncolours); in ui_create_colourmap()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/vnc/
H A Dvnc.c531 rfbColourMap *map = vncNewColourMap(server, colours->ncolours); in ui_create_colourmap()
532 for (i = 0; i < colours->ncolours; i++) in ui_create_colourmap()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/
H A Dqtwin.cpp725 while (i < colours->ncolours && i < 256) in ui_create_colourmap()
733 LCM->NumColors = colours->ncolours; in ui_create_colourmap()
H A Dqtewin.cpp1513 while (i < colours->ncolours && i < 256) in ui_create_colourmap()
1522 g_CM->NumColors = colours->ncolours; in ui_create_colourmap()
H A Dsvgawin.c1113 int n = colours->ncolours; in ui_create_colourmap()