Or maybe someone familiar with such API's is able to create a SCITER module or include to focus on that? Cross platform of course

Yeah, that would really boost productivity regarding better looking GUIs... Hope someone with enough knowledge can jump inI really wish for a direct support for SCITER from PB team. As far as I can see there are a few challenges around events and handling (classes, structures and types etc). Maybe the PB team can offer some generic access options to SCITER so that we can focus on the GUI instead of implementing the API? Some sort of an alternative to the XMLDialog feature?
Or maybe someone familiar with such API's is able to create a SCITER module or include to focus on that? Cross platform of course
Maybe this could be a feature which we can buy (if this is the proper word) via a bounty system, that has been discussed previously.Kukulkan wrote:I really wish for a direct support for SCITER from PB team. As far as I can see there are a few challenges around events and handling (classes, structures and types etc). Maybe the PB team can offer some generic access options to SCITER so that we can focus on the GUI instead of implementing the API? Some sort of an alternative to the XMLDialog feature?
good idea! I'm in!Little John wrote:Maybe this could be a feature which we can buy (if this is the proper word) via a bounty system, that has been discussed previously.
As a conceptual idea of simple PB integration:Kukulkan wrote:I really wish for a direct support for SCITER from PB team. As far as I can see there are a few challenges around events and handling (classes, structures and types etc). Maybe the PB team can offer some generic access options to SCITER so that we can focus on the GUI instead of implementing the API? Some sort of an alternative to the XMLDialog feature?
Code: Select all
CreateSciterWindow(..., callbacks)
Code: Select all
view.somePBFunc(...)
Code: Select all
CallSciterFunction("name", params)
Code: Select all
class frame: public sciter::window {
public:
frame() : window(SW_TITLEBAR | SW_RESIZEABLE | SW_CONTROLS | SW_MAIN | SW_ENABLE_DEBUG) {}
// native functions exposed to UI script as view.helloWorld() and view.nativeApi()
BEGIN_FUNCTION_MAP
FUNCTION_0("helloWorld", helloWorld);
FUNCTION_0("nativeApi", native_api);
END_FUNCTION_MAP
sciter::string helloWorld() { return WSTR("Hello u-minimal World"); }
};
#include "resources.cpp"
int uimain(std::function<int()> run ) {
sciter::archive::instance().open(aux::elements_of(resources)); // bind resources[] (defined in "resources.cpp") with the archive
frame *pwin = new frame();
// note: this:://app URL is dedicated to the sciter::archive content associated with the application
pwin->load( WSTR("this://app/main.htm") );
//pwin->load( WSTR("file:///home/andrew/Desktop/test.htm") );
pwin->expand();
return run();
}
Me tooI definitely would be willing to spend some extra money on this!
+1Kukulkan wrote:I definitely would be willing to spend some extra money on this!
Me too.Kukulkan wrote:I definitely would be willing to spend some extra money on this!
Code: Select all
<html>
<head>
<title></title>
<style>
html {
background: radial-gradient(75% 75%, circle farthest-side, white, orange, rgb(0,0,204));
//background: #f00;
color:#fff;
}
html:rtl {
mapping: left-to-right(background);
}
//body {
// size:*;
// overflow:auto;
//}
</style>
<script type="text/tiscript">
/*
stdout.println("minimal demo started");
$(#machine).text = Sciter.machineName();
var counter = 0;
$(button#append).on("click", function(){
//var newElem = new Element("H1", (++counter).toString());
//$(body).append( newElem );
$(body).$append(<h1#test>{++counter }</h1>);
});
$(button#open).on("click", function(){
var fn = view.selectFile(#open,
"HTML Files (*.htm,*.html)|*.HTM;*.HTML|All Files (*.*)|*.*" , "html" );
}); */
event keydown (evt) {
if( evt.keyCode == Event.VK_F5 ) {
view.load( view.root.url() ); // reload it
}
}
function self.ready() {
var w = self.intrinsicWidthMax();
var h = self.intrinsicHeight(w);
view.move(100,100,w,h,true);
view.connectToInspector(); // connect to inspector
}
</script>
</head>
<body>
<h1>Minimal Sciter Application</h1>
<!-- <p>Running on <em #machine /> machine</p>
<button #append>Append</button>
<button #open>Open</button>
<select>
<option>First</option>
<option>Second</option>
<option>Third</option>
</select> -->
<input|text #first novalue="{text}">
<input|password #second novalue="{password}">
<p>test of generated image: <img src="in-memory:test"> </p>
<p>Connects to inspector automatically, so inspector should be running.</p>
<p>Press F5 to reload the document in window.</p>
</body>
</html>
Hi forumuserforumuser wrote:@idle
Can you explain what we'd get if you do it (for a fee)?
A cross-platform module that we can easily include and
which wraps the internals of sciter into easy to use functions
so that we can focus on GUI design and not prototypes, C library
stuff, etc.?
I really want to see this happening so if you can tell me
(either in public or via pm) how much do you want and
@all_others_who_are_interested:
Please write me a pm as well and how much you're willing
to pay.
I would collect the money afterwards and send it to idle
(either via bank transfer or paypal)... This is just an offer.
If a known user with a longer membership on this forum
wants to do this instead: You're welcome!
Number of people who already contacted me via pm (and an offer): 1
Regards,
forumuser