Hi Qatan,
you mean the first picture with 'Sistema Gerente' ?
Looks for me like 'hand-drawn' with lines, not like a HUGE font.
These 'lifted looking' areas in the other pictures are also only 2 white and
two grey lines around an area.
That looks all a bit what Pritpal did with GTWVG -- but pure Windows API :-(
As you mentioned the [ first in white :-))) (i'm still laughing) ] barcode demo:
that are the hb_gfx* functions. Sure also they will be translated 'low level' to something,
what the OS or the GT can do.
But this way there is a 'layer' between you and the GT.
Check for gfx.prg and gfx2.prg demo in the tests directory !
---
About your question on developer list about image display with hbfimage contrib:
sure an example since longer in preparation :-)
Will show not only persistent bitmap preview in a re-sizeable ! window,
but with a 'trick' also PDF viewing ...
Patience, bedrock just since some 'hours' in upstream available,
and last questions around in work ..
best regards
Rolf
now is clear what your 'asimoes' did - and what you mean.
You should have pointed immediate to the thread, very nice starting with the sentence:
After a sleepless night ...
Because modifying fonts is a time consuming task, i know from old experience.
The problem: changing the active used font have an immediate effect on what is
displayed -- with the next needed window refresh.
Modifying 'on the fly' a font is done by Harbour, if you use the attribute
'HB_GTI_FONTA_DRAWBOX': then these box chars (lines and edges) are really
'drawn' by Harbour instead using the charset.
---
In earlier times are only 'one byte' aka 256 chars possible. And regularly the
whole set was somehow needed, leaving very less room for above 'gameplay'.
Now we have UTF8 support in Harbour, aka multiple bytes, aka more than 256
chars possible.
So you 'only' have to find a font, which e.g. offer you the 'Wingdings' or
Dingbat area, see:
http://en.wikipedia.org/wiki/Dingbat
Or if you have too much time left, you can take a font editor and must make
them yourself.
--
Graphic primitives, aka lines, circles and rectangles should look the same
in Windows, Linux and elsewhere.
What i have different to you in mind was called 'hybrid mode' in a commercial
product. That means your style of thinking mostly remain in text coordinates,
but additional graphics are not forbidden ..
P.S.
i get 'pimples' if a hear or read 'Visual' .. :-))
best regards
Rolf
to open an window and to display therein characters:
you have to contact the OS to display it for you, no other chance. And not your problem, but task of the GT.
Same apply to graphic primitives like mentioned lines and circles.
ANY actually and future OS will have such basic functionality - and also older had.
Gone are the 70?ties with really only character based screens. Even an Apple-II from '82 could do 16 color graphics.
But i am not willing to rely on any special OS GUI features, like calling an OS dependent progress-bar, a complex GUI browse-system, etc .....
Do you remember the old Norton ...
NORTON rules !!
Linux clone is named Midnight Commander [mc] and is the most used tool here.
One of the absolutely first softwares to be installed after fresh OS setup.
How does this HB_GTI_FONTA_DRAWBOX work? Do you have a practical example?
hb_GtInfo( HB_GTI_FONTATTRIBUTE, HB_GTI_FONTA_DRAWBOX )
:-)
[ sure, right understood you question, but it's GT dependend: drawing lines and filled rectangles graphics in size of a character cell, see first point of post :-) ]
best regards
Rolf
Good to see there are more people trying to do the same thing.
Clipper systems have migrated to Harbour, in console mode and am looking for some time for a way to migrate to the graphical interface , without losing the @ SAY , @ GET, @ PROMPT etc.
Not yet I found something under me 100 %
So far from what I 've seen with GTWVG can achieve a lot of things , but it is 100 % dependent on Windows , Linux , would not work.
With QT , Hbqt and these libs , you can achieve a lot of things , I'm currently testing with that.
The issue is not to lose the coordinate system I currently have in my code (ROW () , COL () , MAXROW () , MAXCOL (), etc. )
In my case it is unthinkable to re- write the code , the idea is to keep the code as much as possible without touching .
With QT did menus, browses , etc. but it's all a pure graphic coordinate and much widgets that run within a window .
For a born- zero application, you might think of such a system, even assuming a graphic designer and then going to the code.
But for system events and re- write the code and make look good, means investing some time I do not have .
If someone continues to progress on this path , I am willing to share my experiences , maybe we got a good thing and we can help someone else.