flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Projects and Ideas > What I am currently working on.

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14802
Location: Lost in translation
You forgot the vertical lines to show if there are other folders at the same level further down.
Post 29 Oct 2015, 15:03
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria

revolution wrote:
You forgot the vertical lines to show if there are other folders at the same level further down.


The modern Windows abandoned these ugly vertical lines. Razz But I will probably implement them later, some day. BTW, you can help me with the code - it is in the repository. Simply add the lines and send me the patch. Or if you don't want to mess with my code - you can implement the next target - tool bars and I will make the lines instead.

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 29 Oct 2015, 16:14
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14802
Location: Lost in translation

JohnFound wrote:
The modern Windows abandoned these ugly vertical lines. Razz

Pity. They are useful and provide extra information without taking any extra screen space. But alas, Windows removed them from explorer by default and thus reduced the usefulness of the folder views.

JohnFound wrote:
BTW, you can help me with the code - it is in the repository.

Your repository thinks I am a bot and sends me to the honeypot. Rolling Eyes
Post 30 Oct 2015, 14:05
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria

revolution wrote:
Your repository thinks I am a bot and sends me to the honeypot. Rolling Eyes

Oh, no, no! Don't try to escape! Twisted Evil The web UI is only an option for easy browsing. In order to work on the code you will need the console fossil and it will not need JS or web browser at all.

Simply use:

Code:
fossil clone http://fresh.flatassembler.net/fossil/repo/fresh Fresh.fossil

Use "fossil help" in order to get the help for the fossil syntax. Or read the fine manuals: here.

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 30 Oct 2015, 14:49
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
So, the Windows port of FreshLib GUI toolkit is ready and working now. In the attachment you can download the full set of demo programs I used to test the library, compiled for Linux and Windows.

The demos are compiled from the check-in 2cab47b1f9867f397e56d8295dd713452f646ed7. The most easy way to get the sources is with fossil:

Code:
mkdir Fresh
cd Fresh
fossil clone http://fresh.flatassembler.net/fossil/repo/fresh %repos%/Fresh.fossil
fossil open %repos%/Fresh.fossil  2cab47b1f9867f39


Now I only have to make more GUI widgets and the way for Fresh IDE v3.0 will be open.


Description: Screenshots.
Filesize: 45.15 KB
Viewed: 2838 Time(s)

all_screen2.png


Description: The executables for Windows and Linux
Download
Filename: demos.tar.gz
Filesize: 124.49 KB
Downloaded: 95 Time(s)

Post 05 Nov 2015, 18:56
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 6529
Location: ˛                              ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣ Posts: 6699
lots of potential =)
and could be first asm gui toolkit.
Post 06 Nov 2015, 18:49
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
EditText --> Needs to place cursor at clicked point within string.

Also need tab support
Post 06 Nov 2015, 18:55
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria

typedef wrote:
EditText --> Needs to place cursor at clicked point within string.

Also need tab support



I wondered when someone will notice. Wink
It is simply not finished. The whole code of TEdit is very old and need a lot of fixes. But it works enough for the tests and will be fixed later, when the architecture as a whole is more fixed.

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 06 Nov 2015, 19:13
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
Here is the first approximation of TMenu.

Also, I wrote a little check list about what components are required for starting the work on Fresh IDE 3.0:

Code:
Legend:
[+] - Fully implemented (more or less).
[?] - Partially implemented/work in progress.
[ ] - Not even started.

Needed GUI controls in order to start work on Fresh IDE 3.0:
  [+]   TForm
  [?]   TSplitGrid
  [?]   TAction (8 Action lists)
  [+]   TButton
  [ ]   TCheckbox
  [?]   TTreeView
  [ ]   TabControl
  [?]   TSourceEditor
  [ ]   TToolbar
  [?]   TMenu
  [ ]   TMenuBar
  [ ]   TStatusbar
  [+]   TProgressbar
  [ ]   TListViewTListbox or other kind of table/grid control with columns.
  [?]   TEdit - line editor
  [ ]   THint
  [+]   General message dialog.
  [ ]   Open/Save dialogs.
  [ ]   Color selection dialog. (not so important).
  [ ]   Font select dialog.



You can see, there is a lot of work remaining. Very Happy So, until then, download the demos and enjoy the screenshots.


Description: Screenshot.
Filesize: 8.19 KB
Viewed: 2712 Time(s)

TestMenu.png


Description: Demo executables for Windows and Linux.
Download
Filename: TestMenu.tar.gz
Filesize: 32.14 KB
Downloaded: 88 Time(s)


_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 10 Nov 2015, 09:37
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 6529
Location: ˛                              ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣ Posts: 6699
cool,
i could see this if i use notepad to open elf file, which is good thing,

edited.

personally, i think allowing controls property values to be edited by users outside source is very cool, like the css stylesheet concept,
because some users might need bigger font to see, or color blind or etc sight issues.


Last edited by sleepsleep on 24 Nov 2015, 21:29; edited 1 time in total
Post 10 Nov 2015, 10:58
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria

sleepsleep wrote:
personally, i think allowing controls property values to be edited by users outside source is very cool, like the css stylesheet concept,
because some users might need bigger font to see, or color blind or etc sight issues.



This data is aimed to be handled as a separate config files. I simply packed it in the executable in order to not use external files for the demo.

BTW, the theme support in FreshLib uses interesting technique that keeps it own label names and can store/restore the fields from a string: gui/themes.asm - see the macro NamedArray.

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 10 Nov 2015, 11:51
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
TAction is a non-visual object that contains some common parameters as caption, icon, status and executable code (action execution). It can be assigned to several controls (buttons, checkboxes, menu items, etc.) simultaneously and automatically synchronizes their appearance and behavior. It makes very easy to handle complex user interfaces.

In the below demo, you can see TAction in action Smile together with the new checkbox controls and improved buttons and popup menu.


Description: Screenshot.
Filesize: 4.27 KB
Viewed: 2632 Time(s)

ActionsCheckboxMenu.png


Description: Demo executables for Windows and Linux.
Download
Filename: ActionsCheckboxMenu.tar.gz
Filesize: 48.78 KB
Downloaded: 84 Time(s)


_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 13 Nov 2015, 18:52
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
You want to evenly position the menu texts. Also, the font looks too bold but maybe that's a matter of customization. Wink
Post 14 Nov 2015, 08:21
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria

typedef wrote:
You want to evenly position the menu texts. Also, the font looks too bold but maybe that's a matter of customization. Wink



The other skin ("Win skin" button) has tiny font. Test it.

I didn't understood about the menu texts. Please, explain more detailed.

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 14 Nov 2015, 09:09
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
idle



Joined: 06 Jan 2011
Posts: 340
Location: ukraina
JohnFound, i just joined, and the pics/themes... those are smart.
Post 15 Nov 2015, 07:53
View user's profile Send private message Send e-mail Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
And here is the next demo, concerning the controls layout engine - so called split grids. It allows automatically placing and aligning controls on the client area of the parent window.


Description: Screenshot
Filesize: 17.34 KB
Viewed: 2547 Time(s)

Splitters.png


Description: The demo executables, compiled for Windows and Linux.
Download
Filename: SplitGrid.tar.gz
Filesize: 44.04 KB
Downloaded: 87 Time(s)


_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 15 Nov 2015, 17:56
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
Not so fancy as the previous, but now it behaves almost as intended. Here is a demo about the text edit controls. Now with mouse interface for selections.

P.S. @sleepsleep - please, edit your post above. This huge quote is not so useful for the subject, but breaks the horizontal layout of the forum (when editing new messages). At least, remove these long base64 encoded rows. Thanks.


Description: On the screenshot is the Linux version.
Filesize: 4.69 KB
Viewed: 2427 Time(s)

TestEdit2.png


Description: Binaries for Windows and Linux
Download
Filename: TestEdit.tar.gz
Filesize: 38.32 KB
Downloaded: 94 Time(s)


_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 24 Nov 2015, 21:07
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.