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 22 Jul 2005, 22:25
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: 704 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 23 Jul 2005, 07:16
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 23 Jul 2005, 10:02
i use this buttons


Description: five types
Download
Filename: mybuttons.rar
Filesize: 12.36 KB
Downloaded: 673 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 23 Jul 2005, 10:07
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 23 Jul 2005, 10:09
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 23 Jul 2005, 12:49
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 23 Jul 2005, 12:56
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 23 Jul 2005, 16:45
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 23 Jul 2005, 16:50
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 23 Jul 2005, 17:09
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 23 Jul 2005, 17:33
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 23 Jul 2005, 19:32
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 24 Jul 2005, 07:14
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 24 Jul 2005, 07:38
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
jochenvnltn



Joined: 15 Jul 2011
Posts: 96
jochenvnltn 14 Jan 2021, 17:28
Vasilev Vjacheslav wrote:
i use this buttons


Can you post the source ?
There are only exe's in the archive Smile
Post 14 Jan 2021, 17:28
View user's profile Send private message MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 14 Jan 2021, 17:33
jochenvnltn: This is a 16 year old thread.

I wish you like in reviving the original posters. Smile
Post 14 Jan 2021, 17:33
View user's profile Send private message Visit poster's website Reply with quote
jochenvnltn



Joined: 15 Jul 2011
Posts: 96
jochenvnltn 14 Jan 2021, 23:34
revolution wrote:
jochenvnltn: This is a 16 year old thread.

I wish you like in reviving the original posters. Smile


So the source isn't posted here in 16 years ?
btw.. I was only asking about the source code since he only posted the exe's which is strange if you claim this is a demo example meant to learn something.
I'm not trying to (reviving) anything i was just asking to see the source code because i really liked the third exe ! Last time i checked FASM itself is open source and we all trying to learn something here .. Smile
Post 14 Jan 2021, 23:34
View user's profile Send private message MSN Messenger 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.