Users complain boring user interface of my apps
Re: Users complain boring user interface of my apps
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?
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
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
Re: Users complain boring user interface of my apps
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
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Users complain boring user interface of my apps
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?
Re: Users complain boring user interface of my apps
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.
Greetings ... Peter
Hygge
Re: Users complain boring user interface of my apps
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?
0. To add function-convertors PBValueToSciterValue() and SciterValueToPBValue(). SciterValue (sciter::value) essentially is VARIANT in MS terms but closer to JSON - can hold arrays and name/value JSON maps.
1. To define pb function to create Sciter window :
Code: Select all
CreateSciterWindow(..., callbacks)
Code: Select all
view.somePBFunc(...)
3. To add PB function
Code: Select all
CallSciterFunction("name", params)
#1 and #2 define UI<->backend "gate" so two layers (UI and backend) will be clearly separated.
I am not familiar with PB options in this respect but in C++ such simple integration looks like:
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();
}
Re: Users complain boring user interface of my apps
Hello Andrew,
thank you very much for your support! Now it's our turn.
Greetings ... Peter
thank you very much for your support! Now it's our turn.
Greetings ... Peter
Hygge
Re: Users complain boring user interface of my apps
I definitely would be willing to spend some extra money on this!
Re: Users complain boring user interface of my apps
Me tooI definitely would be willing to spend some extra money on this!
Re: Users complain boring user interface of my apps
+1Kukulkan wrote:I definitely would be willing to spend some extra money on this!
Re: Users complain boring user interface of my apps
Me too.Kukulkan wrote:I definitely would be willing to spend some extra money on this!
LuckyLuke
Re: Users complain boring user interface of my apps
I think sciter looks great but It could take 2 to 3 of weeks to import and wrap for PB, I'm kind of available
if anyone wants to sponsor it but I also looked at it doing it earlier and in the time that it would have taken
to import, wrap and test it, I was already serving html5 to the IE webgadget or the users web browser with
any Js framework, SSL, WebSockets and the added convenience of a server side PB html preprocessor
and very soon an integrated in memory DB. So yeah nah it's really tempting but it's a lot of work for a library
that's got a limited amount of utility which isn't free, but I'll happily import and wrap it for a fee.
if anyone wants to sponsor it but I also looked at it doing it earlier and in the time that it would have taken
to import, wrap and test it, I was already serving html5 to the IE webgadget or the users web browser with
any Js framework, SSL, WebSockets and the added convenience of a server side PB html preprocessor
and very soon an integrated in memory DB. So yeah nah it's really tempting but it's a lot of work for a library
that's got a limited amount of utility which isn't free, but I'll happily import and wrap it for a fee.
Windows 11, Manjaro, Raspberry Pi OS
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Users complain boring user interface of my apps
Have a look at Mousehole
Re: Users complain boring user interface of my apps
@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
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
Re: Users complain boring user interface of my apps
Sciter32.dll was mentioned on a couple of posts a few years ago.
It is free if you don't want any warranties or static linking.
privateamerica posted this test code modified from HanPBF post.
viewtopic.php?p=524960#p524960
it runs, just make sure you have a "test.html" with html, javascript code:
minimal.htm from sciter examples
BUT, at this point you will have to learn HTML and javascript to make it look nice.
You should take a look at JHPJHP "Embed JS into PureBasic"
viewtopic.php?p=473965#p473965
if you don't mind using javascript for your interface.
You could probably use Bootstrap and make your interface responsive.
Thank you.
Norm.
It is free if you don't want any warranties or static linking.
privateamerica posted this test code modified from HanPBF post.
viewtopic.php?p=524960#p524960
it runs, just make sure you have a "test.html" with html, javascript code:
minimal.htm from sciter examples
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>
You should take a look at JHPJHP "Embed JS into PureBasic"
viewtopic.php?p=473965#p473965
if you don't mind using javascript for your interface.
You could probably use Bootstrap and make your interface responsive.
Thank you.
Norm.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
Re: Users complain boring user interface of my apps
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
I said it could take 2 to 3 weeks to do and at my cheapest rate of nzd $45 p/h
it's probably more than the community would be willing to pay. ~$2500 - 4000k
Would be a different story if I was going to use it myself, then I'd already have done it.
Fred has indicated that he's willing to look into Sciter so maybe add up what people are willing to pay
and ask Fred to do it instead.
Windows 11, Manjaro, Raspberry Pi OS