Image processing and alternative interface editing Viewer

Source: Internet
Author: User
Please download to http://download.csdn.net/user/feng

Graphic Processing DemonstrationProgramI thought that if I can display the interface effects similar to the Vista transparent window, it may be of greater help to developers or artists. The existing graphic processing class already supports these channels and color operation functions. You only need to change the refresh mechanism of the Main Window and add some operations on the background of the main window.
As a result, I refreshed the image operation dialog box, added the background operation dialog box, and modified the refresh mechanism of the main window.
Main Window style settings
DWORD dwexstyle = getwindowlong (m_hwnd, gwl_exstyle );
If (dwexstyle & 0x80000 )! = 0x80000)
Setwindowlong (m_hwnd, gwl_exstyle, dwexstyle ^ 0 x80000 );
Call the updatelayeredwindow function in user32.dll to regularly refresh the main window.
An alternative interface editor is complete. With this editor, the artist can view the effects of the main interface in advance, and understand the efficiency and results of the image display in the program, facilitating the communication in game production, it provides a way to communicate with each other. Haha, no matter what you write, no one cares.

The following are some tips
Transparent interface Implementation 1
Make a 32-bit background image for the game, such as a.png. Select the image and change the index of the image position to the top left. In the background Setting dialog box, set the window size to the same as the image size. A window similar to Yahoo widget appears.
Transparent interface implementation 2
Create an 8-bit channel image, such as bk.bmp. Select the channel, change the image position index to the top left, and select whether the background checkbox is displayed as true. In the background Settings dialog box, set the window size to be the same as the image size and set the background color. Well, if the image is well done and the color is chosen properly, if some foreground images are matched, the interface is also cool.
Transparent interface Implementation 3
Create multiple 8-bit channel diagrams, each of which is placed in different places on the background, and implement method 2.
For other tips, feel free to contact us.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.