Jump to content


Photo

Game Widgets - Your Pure Gml Solution To Dll's


  • Please log in to reply
252 replies to this topic

#21 se14an

se14an

    GMC Member

  • New Member
  • 22 posts

Posted 10 August 2008 - 05:06 AM

cool works great B)
  • 0

#22 romis69

romis69

    GMC Member

  • New Member
  • 139 posts

Posted 12 October 2008 - 03:47 AM

How about a version 5 conversion? Version 5 is by far the most compatible - working in at least 2000 through Vista and also in GNU/Linux under Wine and Mac under Darwine. Typically script APIs have been slow, though, because of the large amount of code in Step events.
  • 0

#23 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 15 November 2008 - 03:52 PM

Update!

Now Included:
  • Track Bar
  • Tabs

Also, Game Widgets was featured in Markup Magazine! See the link here. Any bugs or feature suggestions are welcome. Please comment!

Edited by B&B_Gaming, 15 November 2008 - 04:01 PM.

  • 0

#24 Bitsoft

Bitsoft

    GMC Member

  • GMC Member
  • 426 posts
  • Version:Unknown

Posted 15 November 2008 - 03:58 PM

These are good, but they don't look right. And that textbox doesn't have a right-click menu. I thought these were done in the scripts, but there seem to be objects too :P . And this isn't a solution to DLLs, unless you don't mind GM drawn widgets.

It's good, but it doesn't really appeal to me :P .
  • 0

#25 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 15 November 2008 - 04:09 PM

Thanks for the comment. The controls don't look identical to the actual windows controls, because GM doesn't draw very nice-looking shapes (roundrect, circles, etc), and I chose not to use sprites for customize-ability reasons (and because it wouldn't be very practical with things like tabs, scroll bars, buttons, etc. because they are user-defined in size). But the great thing about these scripts is they are fully customizable, just open up the corresponding object (yes, objects :P) and you can easily change colors, shapes, (replace the drawn objects with sprites, if you want), and even the functionality of the control itself, and that's what separates these from DLLs.

I also note your suggestion about the right-click menu, and I Have added a menu into one of my projects, but it required reliance on another user's scripts for the menu (GM's menus suck...), which I am trying to avoid. I will contact the creator of those scripts, and see if they're ok with me using them.

EDIT: Update! I found the magical function draw_set_circle_precision(), everything looks LOADS better, so if you were using an older version, please re-download, and see for yourself. (PS: You can't just change the precision in an older version, I had to re-do some of the drawing functions.) Also, I added drop-down boxes. They're basically a listbox hack, but they work like you would expect.

Edited by B&B_Gaming, 17 November 2008 - 01:26 AM.

  • 0

#26 Rune

Rune

    GMC Member

  • GMC Member
  • 144 posts

Posted 25 November 2008 - 05:34 PM

Awesome scripts. I have been waiting years for something like this to come along.
  • 0

#27 MrOpposite

MrOpposite

    Yesterdays games

  • New Member
  • 744 posts

Posted 12 December 2008 - 03:57 PM

Hey, i would like support for mouse wheel :) (Btw it looked a bit odd on my comp, since im using windoes 98 theme :P)

EDIT:
Btw, the REAL selection colour is 6956042...

Edited by StarTrek, 12 December 2008 - 04:08 PM.

  • 0

#28 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 12 December 2008 - 10:11 PM

You mean the blue selection, right? I used c_blue, seemed to work nicely. :) I can change it, though, I'm almost ready to release an update. (Hint: Child Windows. :()
  • 0

#29 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 12 January 2009 - 10:02 PM

As promised (though not as soon as I would have liked :(), I completed another update. I added a right-click menu to the textboxes, the ability to create password boxes, and, the greatest of them all, child windows. Extremely customizable through scripts, they allow for movement around the screen, resizing, maximize, minimize, and close button functionality, custom icons, captions, and the built-in functionality to dock controls (Game Widgets Textboxes, Checkboxes, Radio buttons, etc.) with a single script, having all the hard work of getting them to work done for you! The windows also come with several functions to determine the drawing area of the window, so you can do your own custom drawing in them without digging through the code.

I'm very exited about this update, please comment about any bugs (probably plenty), features you want or want changed, or if you appreciate my work and want me to keep going. :) Thanks for downloading!
  • 0

#30 Lycondone

Lycondone

    GMC Member

  • New Member
  • 268 posts

Posted 12 January 2009 - 10:24 PM

Lately I've been seeing more people making this kind of program, and I'm one of them. It's a nice system, but there are a few problems I found that should be fixed to make it seem like the real thing.

- You can click objects behind the window.
- Adding the ability to use the scroll wheel on combo boxes and list boxes.
- Not using show_menu for the menu bar :).
- And other little things

I like how it's going to far and hope you continue to work on this :) . In fact, I like this so much you've convinced me to continue working on mine :(.

Edited by Lycondone, 12 January 2009 - 10:34 PM.

  • 0

#31 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 13 January 2009 - 12:01 AM

Thanks. I actually think I forgot to finish a couple of window checks in some controls, but if you drag the window up to the checkboxes, you'll see I finished them so you can't click them behind the window. I'll see what I can do fro finishing the others tonight. As well as the scroll wheel.

As for the menu bar, I'm planning on re-writing them to use the show_menu_ext script instead, but until then the regular one works fine, just limited. Was the 'other little things' just a filler or are there actual 'things', because I'd love the suggestions.
  • 0

#32 Pie Person!

Pie Person!

    GM 6+ Lover

  • GMC Member
  • 1973 posts

Posted 18 January 2009 - 03:05 AM

How come all of the windows images are messed up?
  • 0

#33 Marchal_Mig12

Marchal_Mig12

    The Rhouan

  • GMC Member
  • 1153 posts

Posted 18 January 2009 - 07:28 AM

That's an awesome engine! Very well done. I especially love the text box engine. I will definitely use this for further map editor or such things.

Mig

EDIT: I think that editbox should be called textbox instead.

Edited by Marchal_Mig12, 18 January 2009 - 07:29 AM.

  • 0

#34 superbryceman44

superbryceman44

    GMC Member

  • New Member
  • 2 posts

Posted 18 January 2009 - 07:38 AM

i think this is an awesome program. i can't resise the child windows though and also do you think you could plan to put tree view in a later update?
  • 0

#35 epicCreations

epicCreations

    Cool As Ace

  • New Member
  • 1241 posts

Posted 18 January 2009 - 08:00 AM

HOLY CRAP!
I'VE BEEN TRYING TO MAKE SOMETHING LIKE THIS FOR MONTHS
FRICK
BetaByte is gonna be pissed... :)
Ah well. Zapper thanks you!
  • 0

#36 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 18 January 2009 - 03:04 PM

How come all of the windows images are messed up?

What do you mean?

That's an awesome engine! Very well done. I especially love the text box engine. I will definitely use this for further map editor or such things.

Mig

EDIT: I think that editbox should be called textbox instead.

Instead of GW_Edit_... you want GW_Text_...? Sure, I'll leave both for backwards compatibility sake. :)

i think this is an awesome program. i can't resise the child windows though and also do you think you could plan to put tree view in a later update?

After creating the window with GW_Window_Create(x,y,width,height), you can set the resizeablity using GW_
Window_SetResizeable(window,true/false). Sorry there's no documentation. I can't find any good programs to create one. Anybody know of any?

PS: I've tried treeview a couple of times, but I can't seem to get it working. I'm trying, though, I should get it eventually. I hope. :lol:

GT G33K T3RR1T0RY: Ok... :)

Edited by B&B_Gaming, 18 January 2009 - 03:07 PM.

  • 0

#37 LoopStan

LoopStan

    North-See Developer

  • GMC Member
  • 1398 posts

Posted 11 February 2009 - 12:35 AM

This is really good i like it :lol: Could you comment the scripts though? Some of the scripts arn't working and i think its because im using the wrong arguments
  • 0

#38 BBGaming

BBGaming

    Programmer

  • GMC Member
  • 2454 posts
  • Version:GM7

Posted 11 February 2009 - 02:55 AM

Sorry, I know they're kind of undocumented. If you give me the scripts you're having problems with, I can give you the arguments.

On a side note, I'm having trouble finding a program to create those html help pages. Anybody know of one?

EDIT: I uploaded the newest version, which includes progress bars, and I broke down and used some sprites for certain items. It looks better, so sorry if it bothers you. :lol:

Edited by B&B_Gaming, 11 February 2009 - 03:07 AM.

  • 0

#39 LoopStan

LoopStan

    North-See Developer

  • GMC Member
  • 1398 posts

Posted 11 February 2009 - 03:56 AM

Thank you i figured it out :lol: Wow, the new one with sprites, even though its just a few is really nice :mellow:
Good job! 8/10 8 because it almost has all the features needed, just a few more that i can't think of right now and you will be good :P
  • 0

#40 margoose

margoose

    GMC Member

  • GMC Member
  • 277 posts

Posted 15 February 2009 - 03:00 AM

On a side note, I'm having trouble finding a program to create those html help pages. Anybody know of one?


I use Microsoft's HTML Help Author, it has a crappy GUI, but it gets the job done. Download @ http://go.microsoft....k/?linkid=14188


btw: these scripts are ftw, great job!

edit: a suggestion -- dockable labels, in other words, draw text that has ability to dock to window. Also, ability to put icons in buttons and menus (the same way you did with windows). Include ability for popup menus, and submenus for the popup and topbar menus. Make sure all of the widgets are dockable (such as list and drop down boxes). Also note that it is not I who wants you to do these as I have edited your code in such a way to incorporate some of the things I just listed for my personal use, but I think it would be good for you to have these things in your future updates for overall completeness. If you need/want some help I can be somewhat of some assistance, but I have a couple other projects going right now.

Edited by margoose, 15 February 2009 - 07:12 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users