xcgui-2.3.3 win32
-
- Posts: 8616
- Joined: May 28, 2005 3:28
- Contact:
xcgui-2.3.3 win32
xcgui-2.3.3 a Windows x86 GUI with over 1200 commands.
http://www.xcgui.com
The included help is in Chinese but the code examples are readable.
I added a complete JavaScript and flash compatible Browser control.
https://github.com/CodyGuo/xcgui/tree/master/lib
based on a WebKit port: https://github.com/BlzFans/wke
download: fbxcgui-2.3.3.zip
Joshy
http://www.xcgui.com
The included help is in Chinese but the code examples are readable.
I added a complete JavaScript and flash compatible Browser control.
https://github.com/CodyGuo/xcgui/tree/master/lib
based on a WebKit port: https://github.com/BlzFans/wke
download: fbxcgui-2.3.3.zip
Joshy
Last edited by D.J.Peters on Oct 12, 2022 18:30, edited 2 times in total.
-
- Posts: 8616
- Joined: May 28, 2005 3:28
- Contact:
Re: xcgui-2.3.3 win32
nice binding, you saved me a lot of time!
I think I'd better print your fb bi file and C header file side by side to learn
I think I'd better print your fb bi file and C header file side by side to learn
-
- Posts: 8616
- Joined: May 28, 2005 3:28
- Contact:
Re: xcgui-2.3.3 win32
I changed ~1000 commands to use the FreeBASIC Unicode wString now !
for example for numbers replace Str() with wStr() like here: XAdTable_AddItemText(hAdapter, "Item-" & wStr(i))
Joshy
file ComboBox.bas :
for example for numbers replace Str() with wStr() like here: XAdTable_AddItemText(hAdapter, "Item-" & wStr(i))
Joshy
file ComboBox.bas :
Code: Select all
#include once "xcgui.bi"
sub InitXCGUI constructor
XInitXCGUI()
' disable debug file output: "xcgui_debug.txt"
XC_EnableDebugFile(false)
end sub
sub ExitXCGUI destructor
XExitXCGUI()
end sub
var xWin = XWnd_Create(0, 0, 300, 200, NULL, 0, XC_WINDOW_STYLE_DEFAULT)
XBtn_SetType(XBtn_Create(3,3,20,20,"X",xWin),button_type_close)
var hComboBox = XComboBox_Create(20, 40, 120, 20, xWin)
XRichEdit_SetText(hComboBox, "123")
var hAdapter = XAdTable_Create()
XComboBox_BindAdapter(hComboBox, hAdapter)
XAdTable_AddColumn(hAdapter, "name")
for i as integer = 0 to 999
XAdTable_AddItemText(hAdapter, "Item-" & wstr(i))
next
XWnd_ShowWindow(xWin, SW_SHOW)
XRunXCGUI()
Last edited by D.J.Peters on Oct 12, 2022 18:30, edited 1 time in total.
Re: xcgui-2.3.3 win32
is there a wke example?
-
- Posts: 8616
- Joined: May 28, 2005 3:28
- Contact:
Re: xcgui-2.3.3 win32
Code: Select all
#include once "wkeBrowser.bi"
sub InitXCGUI constructor
XInitXCGUI()
XC_EnableDebugFile(false)
XWeb_Init()
print "XWeb version: " & *XWeb_GetVersionString()
end sub
sub ExitXCGUI destructor
XWeb_UnInit()
XExitXCGUI()
end sub
var xWin = XWnd_Create(0,0,800,600,"Im a window title")
if (xWin) then
var closeBtn = XBtn_Create(3,3,20,20,"X",xWin)
XBtn_SetType(closeBtn, button_type_close)
var Browser = XWeb_Create(8,3*8,800-2*8,600-4*8, xWin)
if Browser then XWeb_LoadUrl(Browser,"http://freebasic.net/forum")
XWnd_ShowWindow(xWin, SW_SHOW)
XRunXCGUI()
end if
Last edited by D.J.Peters on Oct 12, 2022 18:31, edited 1 time in total.
-
- Posts: 8616
- Joined: May 28, 2005 3:28
- Contact:
Re: xcgui-2.3.3 win32
Added: 150 callback prototypes and sorted in xcgui. the classes by getters and setters and cleaned many stuff.
Added wke.bi
Added: wkeBrowser.bas
Two lines shows the page in wkeBrowser :-)
Joshy
Added wke.bi
Added: wkeBrowser.bas
Two lines shows the page in wkeBrowser :-)
Joshy
Code: Select all
var Browser = XWeb_Create(8,3*8,800-2*8,600-4*8, xWin)
if Browser then XWeb_LoadUrl(Browser,"http://freebasic.net/forum")
Re: xcgui-2.3.3 win32
Is there any information on the license of that library? Unfortunately I'm quite lost on that webpage as it's all in Chinese.
Re: xcgui-2.3.3 win32
there's a text file in the doc folder at https://github.com/CodyGuo/xcgui , Google translation follows
Code: Select all
Colorful Interface Library User License Agreement
Introduction:
Colorful interface library, C/C++ software interface development framework, independent research and development, using DirectUI design ideas, applied to the Windows operating system platform.
The colorful interface library user agreement is hereinafter referred to as the agreement, the colorful interface library is referred to as the software.
all rights reserved:
Copyright belongs to the author, referred to as the colorful interface library copyright, copyright owners own all rights to the software.
File protection:
It is strictly forbidden to compile and modify the software.
Free version description:
The free version is: "Colorful interface library dynamic library free version", this version is a dynamic library, does not contain static libraries, does not provide technical support services;
Free licenses are valid for individual users, and corporate users do not enjoy free licenses.
Free rights terms:
You must accept this Agreement to download and use the Software, and the User has the right to use it free of charge and to abide by this Agreement.
Free authorization method:
Free license is limited to individual users. You need to add our friendship link to your website and upload your software screenshot to our forum.
Charge authorization method:
Purchase a paid software version license.
Disclaimer:
The copyright owner does not assume any responsibility for the economic loss caused by the use of the software.
Agreement modification:
The copyright owner has the right to amend this agreement. Other matters not covered, the author reserves the right to interpret.
Other statements:
The copyright owner has the final right to interpret the contents of the above terms.
Official website: www.xcgui.com
E-mail: 154460336@qq.com
Re: xcgui-2.3.3 win32
Thanks srvaldez. That makes this thing a bit less interesting. So in short for the free version it prohibits commercial use and requires to refer to their website and post a screenshot of the application on their forums (which could be hard because it's also in chinese) (if I understood that translated license correctly).
Re: xcgui-2.3.3 win32
Hello everyone, I contacted the author of XCGUI and helped him translating the license file into English. You can read the full one at http://www.xcgui.com/freeDown.php. I also upload the license files (Chinese and English) to https://github.com/retsyo/xcgui_lib
Since English is not my native language so please tell me if there is something not clear or wrong in the License.txt
On what you consider mostly, the answer is in section 2 and 3
And you can purchase 64bits DLL, 32/64 bits static library, GUI Designer, Source code, support too, none of them are free.
Since English is not my native language so please tell me if there is something not clear or wrong in the License.txt
On what you consider mostly, the answer is in section 2 and 3
2. License for free version
The 32 bits XCGUI dynamic library(XCGUI.DLL) is only free for personal user without any technology support. The free version does not apply to enterprise user.
3. Term of use for free version
You must supply a copy of this License with your application; or give prominent notice in the About/Help section to indicate that you are using XCGUI(http://ww.xcgui.com)
And you can purchase 64bits DLL, 32/64 bits static library, GUI Designer, Source code, support too, none of them are free.
Re: xcgui-2.3.3 win32
I know nothing about web controls
I heard that many GUI applications looks like native looking, but they are exactly using web widgets to render HTML.
And I found http://tabulator.info which presents nice table, so can it be used with WKE?
I heard that many GUI applications looks like native looking, but they are exactly using web widgets to render HTML.
And I found http://tabulator.info which presents nice table, so can it be used with WKE?