Worklog for Sarge
Worklog 1
Return to Worklogs
| ||
This is a very basic example.Framework Pub.PureMax window = createWindow("Button's Example", 100, 100, 400, 200 ) button = createButton( "Click here 1", 10, 10, 200, 20, window ) list = createListBox( 120, 40, 100, 100 ,window ) test = createEditBox( "TestBox", 10, 40, 100, 100 ,window ) Timer( window, 1000 ) '1 Second Timer Repeat ID = WaitAction() Select ID Case UI_ACTION AddControlItem( list, "Control: "+ ActionSource() ) Case UI_SIZING AddControlItem( list, "Size: "+ ActionX() + "," + ActionY() ) Case UI_TIMER AddControlItem( list, "Timer: "+ ActionData() ) Case UI_CLOSE End End Select Forever LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |
| ||
I have been working on the actions today and its almost finished. I
just need to add the rest of the control actions, the rest of the
messages are completed and it works 100 percent like blitzplus.Action ActionID ----------------------------------------------------- Window Activated: UI_Activeated = 1 Window Deactivated: UI_Deactivated = 2 Control Action: UI_Action = 20 Windows Sizing: UI_Sizing = 30 Window Moving: UI_Moving = 31 MouseMove: UI_MouseMove = 40 MouseDown: UI_MouseDown = 41 MouseUp: UI_MouseUp = 42 MouseWheel: UI_MouseWheel = 43 KeyDown: UI_KeyDown = 50 KeyUp: UI_KeyUp = 51 Timer: UI_Timer = 60 Window Closing: UI_Close = 100 Function ActionSource() = "ActionSource" Function ActionData() = "ActionData" Function ActionID() = "ActionID" Function ActionX() = "ActionX" Function ActionY() = "ActionY" Function WaitAction() = "WaitAction" ActionX, ActionY, ActionID and ActionSource are completed. LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |
| ||
Well here i am again going at it day and night, there's are the current commands. LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |
| ||
Its been hard coding this because of work, i was about to get fired for
coming in late everyday. So i needed to cut down on the coding and get
my sleep for work. So here are some of the new commands, LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |
| ||
Im not doing bad for the 5th day, this is the updated command list. LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |
| ||
Well i was thinking if i was going to create a dll why not create a
BlitzMax module out of it too, so thats what i done and it works pretty
good. LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |
| ||
While im waiting for the 3D Module to be released i have taken the time
to learn c++. It wasnt as bad as i though, so i have been learning it
for the last three days and have successfully been able to create a
windows gui wrapper dll which i am still currenly working on and testing
through BlitzMax. The following commands listed below are done so far
but i will have alot more by next week. LamasuCreations@... P4 3Ghz, 2GB Ram, Geforce 6800 Ultra, 200GB Sata Drive, Philips 190S5 LCD 19inch, Microsoft Elite Keyboard / Mouse, WinXP / SP2, DX9c |