The work on my Redhouse Editor project is in full swing. I can’t a remember a time I did so much work on a project and enjoyed it so much. The last week or so I worked on the menu part for which I had to overcome some issues. If you program you understand how great it feels when you find problems that prevent your program doing the things you want it to do. For me the menu selection did not do what it suppose to do. It took me a bit to find the root cause but finding it made up for all the frustration when I could not find it. I can’t wait to work some more on it. And since it is a rainy and cold Sunday I will be doing just that.
It was on the telly earlier this week and now I can’t get it out of my head. I need to play this game. From what I remember I always got stuck in the museum. Let’s see if I can finish it and have a lot of fun.
AmiDARK is already on my list of things to try for some time. AmiDARK is a project from Frederic Cordier. Unfortunately he has put the project on hold for the moment due to personal reasons. But there is a version out there to try and that is exactly what I am going to do. It will be interesting to give it a try and of course write about it.
It has been a while since I did some work on the editor project. It was time I made some progress. Lately I got this urge to keep doing as much work on Amiga programming as I can. I try to do at least a bit each day and if I am unable to do any actual programming I try to do some reading to learn. Also my attempts at getting something to work and actually succeed in it does make me feel great and feeds my passion to do more.
I thought I better give the project a new name and thus Redhouse Editor was born. I already have the Redhouse File Manager (a bit dormant at the moment) so I should stick to the Redhouse home name.
I already had the Window part (basic) done and to handle the text I will use the Text Editor gadget. It provides you with functions to handle text so a rather handy gadget if you ask me. I don’t know that much about it but from what I read online it does have some limitations. Surely I will come across them and when I do I will see how I will cope with it.
The above screenshot shows some text added in the window. Still all really basic but I am happy I was able to add the text to it. You can also already type some text in the window. I also want to add a row of icons on top to give it a proper look. But before I do that I want to add a menu to it. Next up is adding a saving routine to the code so I can save the text and opening it as well. I think I will do both together with the menu part.
One of my plans for this year was to start programming something on OS4.1 and actually finish it with the purpose if documenting every step so people could learn something from it. I tried it with the Redhouse File Manager but at the moment I am not as excited about it as I was before so I want to start with something new and exciting. I will continue with the Redhouse File Manager at some stage but for now I decided on something new. I decided to start programming, at first, a simple editor.
Above you can see the start of my Amiga Editor project. Just a simple window with the title “Amiga Editor”. I started a series of articles called “ReAction – Opening a Window” before and with three published already and one pending I decided to take them off-line and use them for this project. I will write about every step I take and provide the code and explain it as well. This will really benefit the people that want to program on OS4.x.
The above picture shows the lines of code that will setup the window that you see in the beginning of this post. It’s not difficult to understand and even without any background info on ReAction/Intuition you somehow can make some sense out of this. The biggest hurdle will be to understand ReAction/Intuition in order to get your stuff working. Over time you will understand more parts of it and things will suddenly make sense but it can be very frustrating at times. It is not uncommon to use code in your program that you don’t fully understand but it gets the job done. But overtime you start to understand it, major ego boost, which is one of the best feelings you can have as a programmer. Next time I will discuss some snippets of code.
It was going to be a series of 4 articles explaining how to open a ReAction window in C on OS4.x. I had 3 released already with the fourth on pending. Instead of writing the fourth article I decided to take the three articles off-line and use them in my new Amiga Editor project.