Monday, January 30, 2006

The CompFramework

I was going to get going on resuming work on TelnetPortal, when I realized.. "This code frigging sucks". So I was going to start over, and recode it to be cleaner, and figured that if I was going to do that, I want to do it in C++ instead of C. So I got started, and realized that THAT code would be much cleaner if I had some sort of C++ api to work with. Enter the CompFramework. I started working on it last night, and so far it has two classes: CApplication, and CWindow.

To make an application with a main window requires very little right now:
class SomeApp: public CApplication {
public:
SomeApp(string title, int top, int left, int width, int height);
}

SomeApp::SomeApp(string title, int top, int left, int width, int height:
:CApplication(title, top, left, width, height)
{}

int main() {
SomeApp s;
s.Show();
s.Run();
}

CApplication inherits a CWindow, and to deal with messages, one just overrides CWindows MessageReceived function, and treats it like a normal skygi callback.

My plan is to start out with basic elements such as a Button class, a TextField class, Maybe some sort of c++ wrapper for sockets, and Basically anything I think I will need for telnet portal.

Stay tuned for updates.

Monday, January 23, 2006

No native skyos

Welp, looks like its back to vmware for me. Got my new system set up, and skyos is a no-go. So, as soon as I get that done, and some misc homework, work will resume on telnet portal.

Friday, January 20, 2006

Issues with skyos

I have not been able to boot any recent versions of skyos, so not much has been done. I was however, for some reason able to boot an alpha released just before beta 9, but not beta 9 itself. As a result, I noticed that the crashing problem seems to be resolved. So, as of beta 9, no more crashing. Soon I will be getting a new system that should (hopefully) be able to boot beta 9, or other recent alphas, and get going on telnet portal again. The main thing that I am going to add is the main part of the telnet client, which includes connecting to remote telnet servers. So, stay tuned :)

P.S: here is an updated screenshot, with all of the bugfixes I mentioned in the initial post. It was taken quite a while ago, and is in the skyos forums as well:

Telnet portal, showing off scaling, and misc rendering fixes.