Welcome, Guest. Please login or register.

Author Topic: Programmer needed!  (Read 3651 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Programmer needed!
« on: February 03, 2004, 09:20:17 AM »
Do you mean a patch for graphics.library/RectFill(), and the graphics.library area commands that checks for pens 0 - 6 and replaces them with a bitmap?
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Programmer needed!
« Reply #1 on: February 03, 2004, 09:59:42 AM »
Hmm... in theory its possible, i guess. RectFill() would be fairly simple, you'd just divert the call to BltBitMapRastPort().
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Programmer needed!
« Reply #2 on: February 03, 2004, 10:19:35 AM »
Quote

Framiga wrote:
no . . . sorry! and then, for icon text, system text and so which pens, still available?
 


Well, that wouldn't be a problem since the text routines wouldn't be patched. However, the CLI would probably not work properly, since AFAIK it would overwrite your lovely bitmap with the original pen when putting text into the window.
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Programmer needed!
« Reply #3 on: February 03, 2004, 10:45:47 AM »
Quote

restore2003 wrote:
would it erase the bitmap image replacing the background`?


Yes, probably. So you'd get the pattern, then the text would overwrite it with the original plain colour.


@Framiga

Not really, no. MOS and OS4 GUIs specifically allow patterns and gradients used where OS3.x does not because they are programmed to do so.

We're talking about patching routines which fill blocks of colour to fill with a pattern instead. That doesn't effect line drawing, text etc. etc.
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Programmer needed!
« Reply #4 on: February 03, 2004, 10:59:57 AM »
Quote

restore2003 wrote:
bah! graphics.library really blows  :-(


Its just outdated. Mind you, i'd take graphics.library over Windows GDI any day ;-)
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Programmer needed!
« Reply #5 on: February 03, 2004, 11:06:18 AM »
Creating a new graphics API was beyond the scope of OS3.9. "AG2" as fleecy calls it is going to introduce a new graphics system called "Vega", which will have the traditional graphics API available as a wrapper (apparently ;-) ). This is the best approach, IMHO.
Playstation Network ID: xeron6