|
Posted by roberto.berrospe.machin on 10/14/07 04:23
Hi. Just wanted to share to the php developers a little freeware app
i've started.
I called it Pe8PeUI; its a crossplatform app wich includes PHP 5
embedded and add some classes to build and support native os ui.
It's in alpha state, but works good so far.
For now, Windows, Buttons, Text boxes simples and multiline, and
labels are suported as well as msgboxes, all with their most common
properties, functions and events..
The way it works is setting p8p "wich is the default extension" files
to be opened with pe8peui executable "this is automatic osx", or
simply dropping the p8p as well as php files on the pe8pe executable
file.
An internall console is added for little debugging and messaging.
The actual clases with its functions/properties/events are:
$P8PMsgBox
-> show($message) (func)
$P8PApplication
-> quit() (func)
-> name (prop)
-> path (prop)
-> console (object)
-> show() (func)
-> hide() (func)
-> write($text) (func)
-> writeln($text) (func)
-> cls() (func)
-> text (prop)
-> width (prop)
-> height (prop)
-> top (prop)
-> left (prop)
$P8PWindow
-> handler (prop)
-> width (prop)
-> height (prop)
-> left (prop)
-> top (prop)
-> title (prop)
-> visible (prop)
-> fullscreen (prop)
-> on_mousemove($x,$y) (event)
-> on_close() (event)
-> show() (func)
-> hide() (func)
-> close() (func)
-> create() (func)
$P8PButton
-> handler (prop)
-> parent (prop)
-> width (prop)
-> height (prop)
-> left (prop)
-> top (prop)
-> caption (prop)
-> visible (prop)
-> on_mousemove($x,$y) (event)
-> on_click($x,$y) (event)
-> create() (func)
$P8PEditField
-> handler (prop)
-> parent (prop)
-> width (prop)
-> height (prop)
-> left (prop)
-> top (prop)
-> text (prop)
-> visible (prop)
-> ispassword (prop)
-> passwordmask (prop)
-> multiline (prop)
-> readonly (prop)
-> maxchars (prop)
-> align (prop)
-> on_change() (event)
-> on_mousemove($x,$y) (event)
-> on_keypress($key) (event)
-> create() (func)
$P8PLabel
-> handler (prop)
-> parent (prop)
-> width (prop)
-> height (prop)
-> left (prop)
-> top (prop)
-> text (prop)
-> visible (prop)
-> multiline (prop)
-> align (prop)
-> on_change() (event)
-> on_mousemove($x,$y) (event)
-> on_mousedown($x,$y) (event)
-> on_mouseup($x,$y) (event)
-> on_mouseenter() (event)
-> on_mouseexit() (event)
-> create() (func)
Inside the package you can find 2 examples showing some about the
implemented components.
The apps can be downloded here:
Mac Intel: http://www.ibobsoftware.com/downloads/pe8peui/Pe8PeUI_MacOSX_Intel.dmg
Mac PPC: http://www.ibobsoftware.com/downloads/pe8peui/Pe8PeUI_MacOSX_PPC.dmg
Windows: http://www.ibobsoftware.com/downloads/pe8peui/Pe8PeUI_Win32.zip
Linux: http://www.ibobsoftware.com/downloads/pe8peui/PE8PEUI_Linux.zip
Please if you test and use, give me feedbacks.
Thanks and enjoy.
Roberto.
Navigation:
[Reply to this message]
|