
--- Reference Image Window ---

	Reference Image Window is a tiny image viewer that stays on top of other windows. It lets you
	put images onto your screen, for example as a reference while you draw.

	Reference Image Window is provided for free.
	Do not trust anyone who tries to sell Reference Image Window.
	See https://sundee.neocities.org/ for updates and other programs.

	This program is for Windows only. Tested on Windows 7 only.


----- Controls -----

	ADDING AN IMAGE
	a) Drag it into the window from your desktop, folder, or a web browser (only firefox tested).
	b) Copy a file from desktop/folder/web browser, or copy pixels from an image editor, and then
		paste them into the window with Ctrl+V.

	MOVING AROUND THE IMAGE
	- To zoom in/out, use the mouse scroll wheel, or click and drag with right or middle mouse
		button.
	- To move the image, click and drag with left mouse button.

	UI BUTTONS
	- Top left (^) = "fold" the window into a smaller size.
	- Top bar ([___]) = move the window.
	- Top right (x) = close window.
	  Top right (_) = minimize window.
	- Bottom left ([ ]) = zoom the image so it fits onto the window. Click again to zoom the image
		so that it covers the window.
	  Bottom left (<>) = flip image horizontally or vertically.
	- Bottom right (^) = make the window fit the image.

	OTHER
	- While resizing the window, hold Shift to keep aspect ratio, and/or hold Ctrl to zoom the
		image with the window.


----- Other notes/trivia -----

	You can change the font by modifying 'icons.png'. The file is optional, RIW works on it's own
	without any other files present.
	
	A remember.state file will be created when you use RIW. It stores the window size and
	position, which will be loaded when you start RIW next time. If you don't want this file to be
	created, add the word "portable" into the .exe name, for example "RIW_portable.exe". The
	contents of the file are as follows:
		i32 state_file_version;
		i32 window_x;
		i32 window_y;
		i32 window_width;
		i32 window_height;
	
	This program was written in plain C. stb_image library is used to load images, and
	stb_image_resize library is used to downscale the image smoothly.
	https://github.com/nothings/stb
