Author Topic: PTC_EXT request ;-)  (Read 3789 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
PTC_EXT request ;-)
« on: May 30, 2007 »
This is for Rbraz I guess.. I was thinking about the extended version of tinyptc, which I have really enjoyed using (as you know! Just click any link in my sig!!).

I was wondering how much hassle would it be to include a parameter for borderless window?

That would be really cool for things like music disks and cracktro style things that need a windowed mode option.

The bordered window can look kind of ugly which forces me to go fullscreen most of the time.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: PTC_EXT request ;-)
« Reply #1 on: May 30, 2007 »
Sure matey, it can be done, I will add this function tonight and post it here.

Btw, nice idea, a borderless window is really useful for music disks.
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: PTC_EXT request ;-)
« Reply #2 on: May 30, 2007 »
While we are on the subject how hard would it be using an alpha channel to mask out a shape for the windows borders I have only seen this done in win32 assembler but it would be a great tweak

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: PTC_EXT request ;-)
« Reply #3 on: May 30, 2007 »
K++ Rbraz :)

Really looking forward to this addition mate!
Never seen alpha'ed windows borders, any links Rain Storm? :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: PTC_EXT request ;-)
« Reply #4 on: May 30, 2007 »
There are lots of programs that change the shape of a window, including XP themed windows with the rounded-off corners.  But it is in fact possible to have any shape, even concave ones with holes in, using Windows Region APIs.

Jim
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: PTC_EXT request ;-)
« Reply #5 on: May 31, 2007 »
Done ;)

http://dbfinteractive.com/index.php?topic=1382.0


While we are on the subject how hard would it be using an alpha channel to mask out a shape for the windows borders I have only seen this done in win32 assembler but it would be a great tweak
Sometime ago, I have coded a "skinned window" in freebasic, Camouflage musicdisk, you can download the source code here -> http://www.rbraz.com/files/DBF-GVY_Camouflage_src.rar
Hope it help you
« Last Edit: May 31, 2007 by rbraz »
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: PTC_EXT request ;-)
« Reply #6 on: May 31, 2007 »
Nice one, K+ for sharing the source code rbraz, thanks a lot

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: PTC_EXT request ;-)
« Reply #7 on: May 31, 2007 »
Thank you very very much for the quick and speedy update Rbraz!!

Very much appreciated, I will be putting it to use.

K+++  :cheers: If there's ever anything I can do for you, let me know please! I'd like to repay your kindness somehow!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: PTC_EXT request ;-)
« Reply #8 on: June 01, 2007 »
No problem mate   ;D

Quote
K+++  Cheers! If there's ever anything I can do for you, let me know please! I'd like to repay your kindness somehow!
Yes, there's one thing --> just keep coding!
Challenge Trophies Won: