In the theme directory add close-{active,inactive}.png instead of close.xbm - and similarly for iconify, menu and max.