Ejemplo n.º 1
0
	void window_control::set_icon(int resid)
	{
		set_small_icon((icon_type)gui_api::instance().load_image(instance_, MAKEINTRESOURCEA(resid), IMAGE_ICON, 16, 16, 0));
		set_large_icon((icon_type)gui_api::instance().load_image(instance_, MAKEINTRESOURCEA(resid), IMAGE_ICON, 32, 32, 0));
	}
Ejemplo n.º 2
0
	void X11Window::set_small_icon(const PixelBuffer &image)
	{
		set_large_icon(image);
	}