My internet stopped acting up, it kept "fluxing" if thats the right word. I'll try to add the font things now
[editline]07:11PM[/editline]
Im stuck until Yaka packs the DSysButton resources
[editline]07:12PM[/editline]
I even excluded it from the project, dupid C# editor
That's wierd, it didn't put the DSysButton resources even though it said it did. I readded them.
Is there any chances that someone could hack the code and transform it into a HUD designer? :3
he gave the source code?
[QUOTE=antid2;22464325]he gave the source code?[/QUOTE]
It's in the [url=http://dermadesignerb.googlecode.com/svn/trunk/]SVN[/url]
[QUOTE=Ningaglio;22462862]Is there any chances that someone could hack the code and transform it into a HUD designer? :3[/QUOTE]
How lazy are you?
[QUOTE=raBBish;22464529]It's in the [url=http://dermadesignerb.googlecode.com/svn/trunk/]SVN[/url][/QUOTE]
i realize, i was making a sarcastic statement.
Could you add Panel:CenterHorizontal() and Panel:CenterVertical() for panel properties?
[editline]07:45PM[/editline]
Also some of the visual stuff is out of date, it doesn't look like the new Derma.
Also, also when I saved my project, then opened it again it didn't save correctly. The controls are way off.
[img_thumb]https://dl.dropbox.com/u/3609329/dermaerror.jpg[/img_thumb]
EDIT:
What happened to my automerge?
[QUOTE=Ningaglio;22462862]Is there any chances that someone could hack the code and transform it into a HUD designer? :3[/QUOTE]
It might be helpful to learn lua before asking for stuff to do it for you. If everyone makes programs that just [b][u]code[/u][/b] for you, then what good is it to actually learn coding?
[QUOTE=c-unit;22477170]It might be helpful to learn lua before asking for stuff to do it for you. If everyone makes programs that just [b][u]code[/u][/b] for you, then what good is it to actually learn coding?[/QUOTE]
Well it's not like designers like this can do everything for you. You still need to know how to do stuff.
[QUOTE=CowThing;22476337]Also, also when I saved my project, then opened it again it didn't save correctly. The controls are way off.
[img_thumb]https://dl.dropbox.com/u/3609329/dermaerror.jpg[/img_thumb]
EDIT:
What happened to my automerge?[/QUOTE]
Well, the saving uses the same parenting techniques as the designer itself, but it was quite a hackie method. Do you have a way to replicate the error? A save file will not help unfortunately.
[editline]01:46AM[/editline]
Also Im thinking about using Nem's vtflib to convert vtf to bitmap in order to display it in DD. It's going to be very :psyduck:
[QUOTE=CowThing;22478242]Well it's not like designers like this can do everything for you. You still need to know how to do stuff.[/QUOTE]
He wants a HUD Designer.. that is the height of laziness, or noobiness, I have learned 2 programming languages (and learning C++ as we speak), and lua is by far the easiest I have ever attempted to learn. I made a post awhile back for a HUD Designer to see what the people thought, and I soon realized what a waste of time designers are (next to this one, really helpful for in depth dermas). Just feels lame to me when people want everything done FOR them, instead of learning to do it themselves.
[QUOTE=Gbps;22481827]Well, the saving uses the same parenting techniques as the designer itself, but it was quite a hackie method. Do you have a way to replicate the error? A save file will not help unfortunately.[/QUOTE]
Huh I can't seem to replicate it. Even recreating the same Menu doesn't seem to break it.
AH HA! I found it. Okay to replicate the error change the window size to something bigger, then place a DFrame and set it to center. Parent some controls to the DFrame and save it. Then close the editor and reopen it then open that file. The controls should be off.
I got a feature request. If your typing \n in dLabel it should add a new line so you can see how it will look like ingame.
[QUOTE=yuriman;22493637]I got a feature request. If your typing \n in dLabel it should add a new line so you can see how it will look like ingame.[/QUOTE]
If you hit enter and make it on a new line, the dlabel will turn it into \n.
oh didnt know that. Thanks
i downloaded the svn, but it's just a bunch of files and stuff, how do i open derma designer
[editline]05:18PM[/editline]
full list of derma stuff
[url]http://wiki.garrysmod.com/?title=Derma_Controls[/url]
[url]http://wiki.garrysmod.com/?title=Derma_Controls_Dump[/url]
You dont use SVN unless you want to see the sourcecode. Download build 22.
[URL]http://dermadesignerb.googlecode.com/svn/trunk/DermaDesigner/DermaDesigner/bin/Release/Build022.zip[/URL]
You update it by open the updater.
I scratched a idea i was trying to do with DDes(list all items w/ the author, it failed miserably) so I'm working on a font editor, however I'm still thinking of what to do if the person doesnt have that font. Like most people dont have coolvetica etc
[editline]06:58AM[/editline]
for the Panel:SetFont function
you make the person download it.
I think you put the font in resources
If the font isn't a default Garry's Mod/HL2/CS:S/etc font then resource.Add() it at the top of the script, maybe? Or if you mean if the person doesn't have the font when using the Designer, is it possible to find a list of all the fonts they have installed on their computer?
This looks awesome. Should be integrated into GluaR, then you'll have your full blown MSVS :P
[QUOTE=tgp1994;22581535]This looks awesome. Should be integrated into GluaR, then you'll have your full blown MSVS :P[/QUOTE]
I don't believe GLuaR is even around anymore after the exports were taken out.
[QUOTE=Gbps;22583920]I don't believe GLuaR is even around anymore after the exports were taken out.[/QUOTE]
Oh... is there even any dedicated gmod lua IDE around? Perhaps you guys should make one, if not :)
[QUOTE=Gbps;22583920]I don't believe GLuaR is even around anymore after the exports were taken out.[/QUOTE]
I've tried the old version of GLuar, it highlights some pretty old functions and code, it would be cool if it was updated.
[QUOTE=LuckyLuke;22605407]I've tried the old version of GLuar, it highlights some pretty old functions and code, it would be cool if it was updated.[/QUOTE]
To be honest, I think it would be nice to just write a GmodLua extension for Visual Studio 2010; that way you could benefit from the Intellisense, as well as the other VS2010 features, such as refactoring, power commands, the existing IDE functionality, and the possibilities from other extensions.
Oh, and by the way, I am unofficially adding to this project for the next 12 hours, just to see how much I can get done on it. I rewrote the Derma library to work in OpenGL in C# for the Leadwerks Engine, so maybe a GDI+ port would help here?
I have added DPropertySheet and DTab; however, while they are in and the drawing code is there, I am not confident that the code for them has been tailored enough to fit the DermaDesigner pipeline, and have yet to get the actual "property sheet" functionality in; nonetheless, the tabs draw, and the property sheet draw, and the code is there that once the child is assigned to the tabs, and tabs are added to the DPropertySheet.Tabs list, everything gets aligned, updated, and drawn properly, it is only about 1-2 hours of work and testing to get working from here.
I have also taken the time to add a right-click context menu to the main window, and prettied up the UI with some icons (I was a tad bored). To do so, I have to change the MainMenu to a MenuStrip, and the MenuItem(s) to ToolStripMenuItem(s). I am not sure why you guys had it like that (maybe speed?), but there is a lot more functionality in the ToolStrip system, so I converted it...if it is too bloated, it is only a few changes to get it back.
The context menu has buttons to lock the control, bring forward, send backward, bring to front, send to back, cut, copy, paste, delete, and alignment (horizontal and vertical). All of the menu options are working except for paste (the serialization to the clipboard and back is kind of buggy, and something is getting lost...)
Here are some screenshots, including some of the aforementioned Derma port to C#:
DPropertySheet and DTab (the actual functionality is not in yet, but they draw properly!):
[IMG]http://img25.imageshack.us/img25/959/ddpropertysheetandtab.png[/IMG]
Context Menu:
[IMG]http://img295.imageshack.us/img295/4529/ddcontextmenu.png[/IMG]
Menu Strip (with icons :D):
[IMG]http://img33.imageshack.us/img33/401/ddfilemenu.png[/IMG]
[IMG]http://img97.imageshack.us/img97/686/ddviewmenu.png[/IMG]
[IMG]http://img408.imageshack.us/img408/8562/ddtools.png[/IMG]
[IMG]http://img4.imageshack.us/img4/1593/ddhelp.png[/IMG]
PGUI3 (C# Derma Port):
[IMG]http://img42.imageshack.us/img42/4283/screenshot2xs.png[/IMG]
[IMG]http://img52.imageshack.us/img52/7243/screenshot1rk.png[/IMG]
Oh, I almost forgot: Again! I am just kind of doing this out of hobby. It is unofficial, at least until I get some response from the developers, or contact them to help out with this officially.
Anyways, just wanted to share my contributions to this project. :)
Sorry, you need to Log In to post a reply to this thread.