• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

DevLog Michael's dev log

Status
Not open for further replies.
I experimented a little with the new Ted (seems to run on Linux). I also modified some icons and created a custom theme:
QOEWXZu.png
 
I will make it possible. I would really like this feature and and your example looks great. It should become a theme that ships with CX.
I'll let oyu know when I have this implemented.
 
I will make it possible. I would really like this feature and and your example looks great. It should become a theme that ships with CX.
I'll let oyu know when I have this implemented.
That would be absolutely awesome!
Edit: I used custom icons for disabled tools. Is it possible to handle them in the theme, too?
 
Last edited:
Edit: I used custom icons for disabled tools. Is it possible to handle them in the theme, too?
How did you set the icon for disabled tools right now?

So far there is one set of Icons. QT can only set one icon, disabled ones get grayed out by default.

Edit: Looks like someone could set another icon for a different mode. Just that TED right now doesn't make use of it.
 
Last edited:
How did you set the icon for disabled tools right now?
Icons can be changed in the ui designer (just click on ted/Formulardateien/mainwindow.ui):

fJg28Dp.png


The problem with the grayed out icons is, that white, black and all gray colors stay as they are. So if an icon is black or white (like in many monochrome themes) no one can tell if they are enabled or disabled.

Edit: Seems to be possible to change icons via Qaction.SetIcon:
https://doc.qt.io/qt-5/qaction.html#icon-prop
but I have no idea how to change the icon for disabled tools …

Edit2: okay, found it:
https://stackoverflow.com/questions/1358563/set-a-custom-icon-for-a-qaction-when-disabled
 
Last edited:
Ok, I uploaded a new version to GitHub. icons need to be named like this...

New.png
New_off.png

If there is no OFF version, then TED behaves like before and just greys it out.

The icons in the treeview only change when source code is changed or a new file is opened. But I think that is ok, as you won't constantly change the theme.
 
Ok, here is the plan. Before I tackle the bigger task of getting autocompletition for TED into it, I will add a small option regarding the line number color to TED, add the shared themes from @PixelPaladin and then create a new release for Windows and OSX of CX over the weekend. It is about time.
 
Hi folks. Guess it is time for a new update. So what i have done for CX since its last release? 2 major things.
1# Ted: biggest thing is probably the highlighting and autocapitalization of the API. I have very basic autocomplete in but it is far from what you guys are used to. Plain listbox and no parameter hint.

2# AGK Windows target. The motivation behind this was and is personal. To learn on how to create a target and also being able to port my game to CX. It uses MSVC 2017 Express to compile. Omg. The compile times are awesome. And Android NDK target might follow for it.

Cross your fingers on the 9th very hard. I will have a talk with my bank. If everything goes well, i will be able to get a new Windows 10 computer.
 
Damn details. I was so close to a new CX release but TED's auto capitalization of the CX API can cause some problems when you scroll through existing code via Key DOWN/UP/LEFT/RIGHT. I need to handle this properly before next release.

The AppGameKit target is done so far.
 
Helllo hello!

Puh, it looks like I have finally beat this sucker called OSX and released a version for it that everyone can install and it runs without permission problems or missing QT frameworks. Well, you are never to old to learn... at least I am. ;)
Getting that new donated hardware for OSX was crucial to it. Now I can try to fix problems on that platform. Also I can try to get the AGK target for OSX desktop out. I know that Cube from the Syntaxbomb forum is waiting for it. And you should not let your supporters wait to long. But then I know that XCode can be a biatch, but lets hope it will be smooth sailing this time!

In the meantime I should get my new PC too. I will post a pic of it when it is there. With it I can tackle Windows 10 and Linux.

Before I had the Mac Mini set up, I was looking into TrueType font support for CX. I think it will be doable, just have to set on a lib/framework, port it to CX and then integrate it seemlessly into mojo/mojo2. Fun times ahead!!! :confused: If anyone wants to take on this part, I would marry him. If my wife gives permission to do so :D:p

And with TrueType font support in CX, then I can seriously think about a platform independent GUI module. I had my hands into on when I created my fantom frameworks, so this is not completely new to me.

And then there is sooooooo much to work on in CX, someone won't getting bored for sure.

Have a good weekend guys!
Michael
 
Hi folks,

soooo. I was a little busy on the OSX/IOS front reagarding the AGK target. I know, not everyone uses that but some do (including myself) and I can report that the next release will include these two targets fully working. I needed to change the asset storage location to AGKs media folder but I think that is reasonable. After all we are talking about a different framework here.

The next days I will look into some outstanding OSX/IOS bugs reported in the past and try to fix them. Once that is done, I will make a new OSX release. And after this, I will turn my efforts into getting a Linux release out again.

I asked Martin if he could look into TrueType font loading integrated into mojo and/or mojo2. He agreed, but I hope he really has time for it. That would be a huge time saver for me and another stept to a platform independent UI module.

Again, have a good weekend!
Michael
 
Status
Not open for further replies.
Back
Top Bottom