[API] Mouse and graphic api V1.6.1 beta. Easy to use GUI API with full mouse support
#81
Posted 07 January 2013 - 07:01 AM
#82
Posted 07 January 2013 - 08:10 AM
#83
Posted 07 January 2013 - 02:11 PM
#84
Posted 08 January 2013 - 08:04 PM
i use "#"s instead of coloured pixels since the drawPixel() seems to overwrite anything with that colour.
here is the code, quick and simple..
NOTE : to use the program you select a item in a list(one of the two boxes) and then then if you click on the "%" in the middle it will swap over to the other side... this idea can be useful for moving objects or things around bbetween two lists of things... My personal use would be to have the two lists represent EnabledMovies and DisabledMovies in AngelTV...
small edits were made, since its mostly intended for angelTV, but if you can maybe get it to work in the API it will be more useful and usable..
#85
Posted 09 January 2013 - 07:34 AM
#86
Posted 09 January 2013 - 11:16 AM
i will maybe post the updated version unless you wish to take up on it since mine uses # and you can perhaps adapt it to use pixels like in your API
#87
Posted 10 January 2013 - 05:35 AM
ArchAngel075, on 05 January 2013 - 08:58 AM, said:
I will play around with 1.5 ASAP, and I have two suggestions! :
TickBox
draws a 3x3 box where its centre is green or red, if ticked = green if not ticked = red,
setLists
i've no idea what to call them really.. but they are simply two boxes witha button between them, the boxes contain a list of things, like place names or what have you(user defined) and allow you to set if (for this example) placeA to true, placeB - D to false and then placeE to true again.. And one can quickly return what the value of a place is..
-Its like a multi-version of the tickbox, to change a places value you click its name in the box and click the button between the boxes(which in Windows can be two arrows going right/left)
ill elaborate more if needed...
The tick box will be really useful!
And Bjornir, i've made a installer in my OS that copies the API from your pastebin ok?
#88
Posted 10 January 2013 - 05:37 AM
Oct125, on 10 January 2013 - 05:35 AM, said:
ArchAngel075, on 05 January 2013 - 08:58 AM, said:
I will play around with 1.5 ASAP, and I have two suggestions! :
TickBox
draws a 3x3 box where its centre is green or red, if ticked = green if not ticked = red,
setLists
i've no idea what to call them really.. but they are simply two boxes witha button between them, the boxes contain a list of things, like place names or what have you(user defined) and allow you to set if (for this example) placeA to true, placeB - D to false and then placeE to true again.. And one can quickly return what the value of a place is..
-Its like a multi-version of the tickbox, to change a places value you click its name in the box and click the button between the boxes(which in Windows can be two arrows going right/left)
ill elaborate more if needed...
The tick box will be really useful!
And Bjornir, i've made a installer in my OS that copies the API from your pastebin ok?
#89
Posted 11 January 2013 - 08:29 AM
#90
Posted 11 January 2013 - 11:10 AM
first use
xyz = paintutils.loadImage(path) -- where xyz can be any variable.
then use
paintutils.drawImage(image, x, y) -- image being that xyz you specified above, and x,y is the topleft most point to start rendering it from afaik.
all info on the paintutils is found on paintutils
if this is not what you meant then please try to elaborate.
-end-
#91
Posted 11 January 2013 - 11:01 PM
Drag n Replace lists
It will render a list using an table, if user selects two items in the list they will swap places within the table...
I am already writing a concept for it, i have render down i just need to add the dlGetSelection()
,
it will hopefully presave the last known selection so that any other actions can be done within. I may add a cancel using mouse2 or backspace etc.. it is still a concept piece though...
#92
Posted 12 January 2013 - 06:56 AM
ArchAngel075, on 11 January 2013 - 11:10 AM, said:
first use
xyz = paintutils.loadImage(path) -- where xyz can be any variable.
then use
paintutils.drawImage(image, x, y) -- image being that xyz you specified above, and x,y is the topleft most point to start rendering it from afaik.
all info on the paintutils is found on paintutils
if this is not what you meant then please try to elaborate.
-end-
#93
Posted 12 January 2013 - 07:08 AM
yet another suggestion ill concept(i love conceptualizing ideas XD) :
drag panes, it will at first be a square or rectangular box drawn on screen with a title, if clicked upon it will "drag" the pane out and render a list of buttons. if the sqaure is again clicked it closes.
(the closest name would be drop down tabs)
-One can perhaps support too many buttons(making it render off screen) by catching the screen size, and then making an auto scroll bar to scroll within the panel...
id be happy to try my hand at the auto scroll bar system since it can come in handy?
,
the drag n Replace concept is priority atm.
-
#94
Posted 12 January 2013 - 10:31 AM
ArchAngel075, on 12 January 2013 - 07:08 AM, said:
yet another suggestion ill concept(i love conceptualizing ideas XD) :
drag panes, it will at first be a square or rectangular box drawn on screen with a title, if clicked upon it will "drag" the pane out and render a list of buttons. if the sqaure is again clicked it closes.
(the closest name would be drop down tabs)
-One can perhaps support too many buttons(making it render off screen) by catching the screen size, and then making an auto scroll bar to scroll within the panel...
id be happy to try my hand at the auto scroll bar system since it can come in handy?
,
the drag n Replace concept is priority atm.
-
#95
Posted 12 January 2013 - 02:21 PM
I havent really looked at thelatest version of the API, i might be able to find some tweaks if possible... else ill look into linking my concepts into them for better compatibility...
#96
Posted 12 January 2013 - 06:54 PM
ArchAngel075, on 12 January 2013 - 02:21 PM, said:
I havent really looked at thelatest version of the API, i might be able to find some tweaks if possible... else ill look into linking my concepts into them for better compatibility...
#97
Posted 12 January 2013 - 07:46 PM
popups;dragmenus;tickbox;button
it will prioritise what will be found first on the overlaying buttons using elseif> if it is higher in the elseif chain then it will handle the button as that type and then continue to process which button of that type was pressed exactly and then return a value.. it could be possible to use ids like you have for buttons, but can you maybe also return a type for future versions ? this is so each type has an internal buffer, and id list... will be easier removing specific ones in a list..
but if a universal id is made, if you use a seperate table that tracks types > if buttonID[5] was a tickbox then buttonType[5] is a tickbox, just match the index?
honestly ill play around with ideas...Maybe look at the API and see where we can exploit anything to get it.
#98
Posted 13 January 2013 - 09:54 AM
#99
Posted 13 January 2013 - 02:07 PM
actually question is if conceptuals help at all
#100
Posted 14 January 2013 - 05:43 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











