Haha ~ Today progresses smoothly

xiaoxiao2021-03-06  42

I haven't done a part of the interface, but today's progress is still very satisfied. First, I solved the dynamic switching problem of full screen / window mode. Well .. It is the method I think of, there is no reference, I don't know if the GP is the same. However, I think the principles are probably almost. A dynamic switch is a very fun thing. Second, a CSURFACE class is new to pack DDSurface, which is more important, and this is a very important part, and it is difficult to use DDSurface directly. This class includes animation, clicking on the test area, binding of bitmap files (this can resolve the problem of restoring the retransmary data when the page is lost), and there are several CGRAPH's LoadBitmap and other in Ddutil The function has been moved in the past csurface. In the future, it will also increase the Garma adjustment of Surface. The source code post is enough. This time I only make the header file, just a few great structures. Remarks: Window management also wants to drag and save the source / target variable.

#pragma overce

#pragma comment (Lib, "DDRAW.LIB")

#pragma comment (Lib, "Winmm.Lib")

#include "mmsystem.h" #include #include "./global.h"

转载请注明原文地址:https://www.9cbs.com/read-58127.html

New Post(0)