Searched refs:PALETTE_SWATCH_Y (Results 1 – 4 of 4) sorted by relevance
755 pindex = (mouse->y - PALETTE_SWATCH_Y) / PALETTE_SWATCH_H; in motion_palette()800 if (py < PALETTE_SWATCH_Y) return (TRUE); in click_palette()801 pindex = (py - PALETTE_SWATCH_Y) / PALETTE_SWATCH_H; in click_palette()
39 #define PALETTE_SWATCH_Y 1 macro54 #define PALETTE_HEIGHT (PALETTE_SWATCH_H * 256 + PALETTE_SWATCH_Y * 2)
1256 mem_cols * PALETTE_SWATCH_H + PALETTE_SWATCH_Y * 2 }; in update_stuff()
2144 PALETTE_SWATCH_Y * PALETTE_W3; in repaint_swatch()