Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Goombert

Developing ENIGMA / Re: LateralGM
« on: October 08, 2014, 09:20:50 PM »
I've added more themes, most of all the ones available for Java to the list.

There's also a cross-platform XP look and feel which is very reminiscent of GM6/7.

Developing ENIGMA / Re: LateralGM
« on: October 08, 2014, 06:54:48 PM »
You wanted a dark theme, you got one, external look and feel support has been added, recheck the OP and follow the new forum guide.

Tips, Tutorials, Examples / LateralGM Look and Feels
« on: October 08, 2014, 05:50:03 PM »
This is a bit of a guide on using custom look and feels with LateralGM. Before attempting this please download the latest LateralGM, it has not yet been added to a new Portable ZIP

1) The first thing you will need to do is locate your lateralgm.jar, it may be in your enigma-dev folder
2) Create a folder next to lateralgm.jar in the same directory named "lookandfeels"
3) Download and copy the jar file of the look and file into the newly created "lookandfeels" folder
4) Open LateralGM and navigate to "File->Preferences/General", if you are on a newer LGM it may be "File->Preferences/Appearance"
5) Set the theme to "Custom"
6) Enter the main class name of the jar file in the "Theme Path:" text box, you will have to find this name on your own because most look and feels are not executable jars and therefore do not have this in their manifest
7) Hit "Apply Changes" and then restart LGM, I advise you to restart because sometimes the look and feels may not update properly, it's a Java issue.

I have compiled a list here of available look and feels I've already tried. Please feel free to post more to this topic in a reply, and please let's keep replies only to additions to this list, any other replies will be deleted. You can also create your own look and feels using Java the same way you would create a regular look and feel and use it with LateralGM.

Here are some links to get you started on making your own Look and Feel for Java applications:

If you do not wish to download all of these look and feels separately I have packaged them all into a convenient ZIP archive. Just extract the contents to the "lookandfeels" folder.

You can also override the background image used on the MDI area. Inside the "lookandfeels" folder you created previously you just need to create a file called "lgmbackground.png" which will automatically be applied the next time you load. You can use the following dark variation of LGM's current background if you like.

This one is for all you Windows XP/GM6/7 fans, who for all intents and purposes no longer have Windows XP or have Mac or Linux.
Class Name: de.muntjak.tinylookandfeel.TinyLookAndFeel

Sea Glass
Download: (seaglasslookandfeel-0.2.jar)
Class Name: com.seaglasslookandfeel.SeaGlassLookAndFeel

According to Mac's licensing, you are technically not allowed to legally use this on platforms other than Mac, but that won't stand up in court see Microsoft V. Apple
Download: (once you extract look in the "dist" folder)
Class Name: ch.randelshofer.quaqua.QuaquaLookAndFeel

Info Node
Download: (once you extract look in the "lib" folder)
Class Name: net.infonode.gui.laf.InfoNodeLookAndFeel

Class Names:
(there's more but I'm not typing them all out)

You must download the base Synthetica and place it in there before you can use the extended ones.

Download: (you will have to register, but it's still free)

Class Names:

The purpose of this one is having a Windows look and feel on Mac or Linux, it doesn't look much different than the one included in the Java SE, except fonts.
You also need to download both JGoodies Common as well as JGoodies Looks.
Class Names:


Class Name: com.pagosoft.plaf.PgsLookAndFeel

Developing ENIGMA / Re: LateralGM
« on: October 08, 2014, 03:55:54 PM »
Ok, another update, I just fixed printing on the Resource and Game Info frames, I've tested them and they work exactly as 8.1

Redownload the LGM jar for my updates, I've also fixed the hash.

8.1 and Studio do not have print preview support but I plan to add it eventually. Code editing frames still can not print however.

Additionally, I really couldn't test Studio because the Resource Info frame is broke, and the print dialog is really not viewable under their shitty dark theme. This is on the latest release too, but the same things were broke in the last couple releases.

Developing ENIGMA / Re: LateralGM
« on: October 08, 2014, 02:59:21 PM »
Quote from: egofree
Are you sure ?  I downloaded the latest version, and the enter still opens a resource.
Try downloading again, it looks like I didn't actually upload it to Dropbox, sorry about that.

Quote from: egofree
By the way, i was wondering if it would be useful to add 'expand all' and 'shrink all' buttons in the search tool bar. When there is a lot of results, it is annoying to expand every node to see each result.
I already thought about that and I was going to add it last night, but I won't add it to the search toolbar, I'll add it to the context menu like Eclipse.

Quote from: gra
problem with update of lateral gm of seven hour ago
when i try to close lateral gm in mint 17, and the program not close
Yes gra, listen to Harri you need to download the plugin as well; he did the same thing. If it works let me know.

Programming Help / Re: Why do we use placement new?
« on: October 07, 2014, 08:38:14 PM »
Oh wow, I am not sure you'll have to ask Josh about that one. I'll forward this to him.

Well in Psychology there's also the invincibility fallacy/personal fable.

Programming Help / Re: Why do we use placement new?
« on: October 07, 2014, 08:29:31 PM »
Can you show me a code example sorlok? I am a tad confused by what you mean.

Developing ENIGMA / Re: LateralGM
« on: October 07, 2014, 08:16:06 PM »
Alright I've added scrollbars and fixed the context menu copy action, please test it again. Additionally since ALT+Enter also opens resources when typing in the search bar, I made regular Enter by itself perform the search and automatically open the search results tab as you suggested egofree.

Quote from: egofree
The arrows buttons work only for the 'Resources' tab. What about doing the same for the 'Search results' tab ?
The arrow buttons are really only useful when the tree is not filtered, the search results tab is always filtered so every node is pretty much a result node, buttons are pretty much useless in that context.

Quote from: egofree
I think the following modification would improve the user interface : instead of having a 'Search results' tab in the resources panel, what about having a panel only for the search results ? For example, let's have a horizontal panel at the bottom of the main window (as in Eclipse or Notepad++). Every time the user is doing a new search, a new tab would be added in this panel. Each tab would be 'closable'. This means we could have several 'Search results' available, and the user would see very easily that a new search results has been completed. What do you think of my proposal ?
I had already thought of that but I felt it detracted too much from the idea of it being a reconstructed resource tree. The tree is also likely to have more vertical than horizontal dimension given a large number of results. It would be better to have a docking framework where you could pop it out and look through because it's honestly likely to be big both vertically and horizontally. Let's just focus on getting it finished first.

Developing ENIGMA / Re: LateralGM
« on: October 07, 2014, 11:47:25 AM »
Hmm, I don't seem to have that issue ego, try using CTRL+C instead of the context button, because the context button has stopped working for me, I'll have to fix. I also noticed the search results tree needs placed in a scroll panel.

Developing ENIGMA / Re: LateralGM
« on: October 06, 2014, 04:58:42 PM »
egofree, I guess I should reset the search results, yeah. I was going to leave them be because I didn't think they hurt anything, but that's really weird they would still be able to open. I am getting around to making the result nodes also recognize scope, I mentioned that in the change log.

Also, Harri is right the syntax check button can break without the search feature in the same exact way, I was able to reproduce the issue and I'll try to get it fixed, I don't know what's causing it yet.

Edit: The syntax button is an easy one, it's just a simple frame/plugin issue, if you close and reopen the frame it's fine. I've uploaded a patch, please check the extra packages page for both jars.

General ENIGMA / Re: Lateral GM question
« on: October 06, 2014, 01:56:22 PM »
Heh well, we actually aren't all that incompatible with GMK's, a major portion of games compatible are in GMK format, like Project Mario, and Project Chaos, Minecraft Example, Mark Overmars FPS, Overmars Game of Life. Some games also use properties that GMX does not store, such as removing the transparency color of sprites. Converting these games to another format would break some things here and there. We also just happen to be a lot more compatible with GMK games because they get rid of all the bad coding techniques we've yet to implement, but also add a ton of new ones, see ds accessors.

Developing ENIGMA / Re: LateralGM
« on: October 06, 2014, 10:48:05 AM »
Alrighty you guys, I've rolled out another release, the directory structure in search results is now maintained and the nodes are clickable, it will also search shaders now, or should anyway. There is additionally a context menu for you to copy the results to your clipboard too. I've changed some other things as well like making the split dividers double click expandable, so read back over the change log.

Additionally I've fixed the classic Windows look and feel, the MDI frame buttons will no longer be cut off, same with the regular Windows look and feel. You will have to explicitly set these look and feels over "Native" from the preferences window though because I was afraid the fixes may look funny on XP.

Quote from: egofree
- The search icon is ok, but i would prefer a magnifying glass without the book behind.
I am not to sure about this suggestion because we want it to be fundamentally different the find and replace behavior. Also we use the magnifying glass for zoom, and binoculars for Find & Replace. I am also seeking to expand LGM's external modification abilities to allow things like customizing the default icon packs.

Quote from: egofree
- Would it be possible to add a key shortcut for the search button ? (enter key)
Quote from: egofree
- When clicking on the search button, let's display the search results tab if it's not already visible. Right now it's now visible that the search results has been completed if you are on the 'Resources' tab.
Right now I have enter assigned to open the selected nodes frame, I think we may be able to go with both of your suggestions instead however since ALT+Enter is actually already mapped to open the resource frame as well.

Quote from: IsmAvatar
* Please hide the ["Resources","Search Results",etc] tabs when not searching.
I'll look into before we reach the stable release.

Quote from: TheExDeus
In the new search feature "Matches" are number of lines where the word is found.
I still haven't fixed this yet but I know exactly what you mean, it's showing the number of lines that have matches not the actual number of matches.

Programming Help / Re: Packing bits
« on: October 06, 2014, 05:30:00 AM »
Heh, me neither Harri, I'll try to call this to his attention.

Off-Topic / Re: DX12 Is it all hype or is this the holy grail of DX!
« on: October 06, 2014, 05:27:58 AM »
DX12 is just doing the same thing AMD's Mantle API is doing.