flat assembler
Message board for the users of flat assembler.

Index > Windows > ColorLib v1.0

Author
Thread Post new topic Reply to topic
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
I wrote a library called ColorLib. It is a library, that creates flat and colorful buttons, acting like internet links, ie. it changes colors when you hover or click it.
It was written entirely in FASM. It works of course with FASM, but also with all other compilers that support linking with .obj or .lib files (ie. MASM, most of C++ compilers, ...)
Check the 'examples' directory in archive, because the snapshot cannot show you everything it can do

Image


Description: ColorLib v1.0.2
Download
Filename: ColorLib.v1.0.2.by.HTBTeam.zip
Filesize: 57.33 KB
Downloaded: 260 Time(s)



Last edited by Reverend on 23 Jul 2005, 17:35; edited 2 times in total
Post 22 Jul 2005, 22:25
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
Nice library Wink
But you have some bug in C example: after I clicked on a few button... ALL of them started to flicker
Post 23 Jul 2005, 07:16
View user's profile Send private message Visit poster's website Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
i use this buttons


Description: five types
Download
Filename: mybuttons.rar
Filesize: 12.36 KB
Downloaded: 204 Time(s)


_________________
[not enough memory]
Post 23 Jul 2005, 10:02
View user's profile Send private message Reply with quote
rambo



Joined: 28 Feb 2005
Posts: 22
Location: posen, poland
rambo
where double buffering has gone?!
pozdro, pozdro rev! : )
Post 23 Jul 2005, 10:07
View user's profile Send private message Visit poster's website Reply with quote
rambo



Joined: 28 Feb 2005
Posts: 22
Location: posen, poland
rambo
Vasilev Vjacheslav wrote:
i use this buttons


vasilev, fifth template is buggy on my xp : )
Post 23 Jul 2005, 10:09
View user's profile Send private message Visit poster's website Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
decard wrote:
Nice library Wink
But you have some bug in C example: after I clicked on a few button... ALL of them started to flicker
Hmm..... Yes it's true but for the moment I don't know why. I'll check it
Vasilev Vjacheslav wrote:
i use this buttons
Your buttons are impressive. Have you coded them in asm yourself?
rambo wrote:
where double buffering has gone?!
What do you mean exactly?? Embarassed
rambo wrote:
pozdro, pozdro rev! : )
(PL only)no pozdro Smile jak tam kompresja BWT (czy jak tam to sie nazywalo)?
Post 23 Jul 2005, 12:49
View user's profile Send private message Visit poster's website Reply with quote
flaith



Joined: 07 Feb 2005
Posts: 122
Location: $300:20 58 FC 60 N 300G => Vietnam
flaith
i like you lib Smile

pb is : when i clik on a button, i let the click pushed, move on another button, and release the clik = program crash

(i'm under W2K SP4)

_________________
Je suis sur de 'rien', mais je ne suis pas sur du 'tout'.
Post 23 Jul 2005, 12:56
View user's profile Send private message Visit poster's website Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
rambo, the code needs little checking & optimization
Reverend, yes, totally coded by me in fasm

_________________
[not enough memory]
Post 23 Jul 2005, 16:45
View user's profile Send private message Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
In edited first post there's a version with fixed bugs (thx to decard and bart). ColorLib v1.0.1

flaith: I can't get this error on my win xp sp2. Maybe you had it with C example? It was badly written and now I fixed some bug, maybe it made such an error. Please check the new version

Vasliev: Will you be so kind to share some kind of a lib with such buttons then? Smile
Post 23 Jul 2005, 16:50
View user's profile Send private message Visit poster's website Reply with quote
flaith



Joined: 07 Feb 2005
Posts: 122
Location: $300:20 58 FC 60 N 300G => Vietnam
flaith
Thx Reverend, but maybe it's my system, i tried all the exe, still the same crash.
Image
Instead of that, it's a good lib and tuto to make a lib Very Happy

_________________
Je suis sur de 'rien', mais je ne suis pas sur du 'tout'.
Post 23 Jul 2005, 17:09
View user's profile Send private message Visit poster's website Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
flaith: In fact you were right with this mistake. I didn't notice it, because it didn't crash on my win xp sp2, but there still was an error. I had 'jz @F' but forgot to put '@@:' so fasm generated jump somewhere later in the code Smile Also I noticed that I forgot to preserve esi and edi values. Thanks for bugreport. There's an updated version in the first post
Post 23 Jul 2005, 17:33
View user's profile Send private message Visit poster's website Reply with quote
flaith



Joined: 07 Feb 2005
Posts: 122
Location: $300:20 58 FC 60 N 300G => Vietnam
flaith
Thx Very Happy

_________________
Je suis sur de 'rien', mais je ne suis pas sur du 'tout'.
Post 23 Jul 2005, 19:32
View user's profile Send private message Visit poster's website Reply with quote
rambo



Joined: 28 Feb 2005
Posts: 22
Location: posen, poland
rambo
Quote:
where double buffering has gone?!
What do you mean exactly?? :oops:


try to move your mouse above the buttons and see, how they shake : )

Quote:
jak tam kompresja BWT (czy jak tam to sie nazywalo)?


bwt ssie.
pakowanie PE też ssie : )
generalnie nie mam czasu w wakacje..
Post 24 Jul 2005, 07:14
View user's profile Send private message Visit poster's website Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
Reverend, first, i must fix bugs and do little optimization Smile
Post 24 Jul 2005, 07:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.