View grid in PtTrend

Hi

How can i display the grid in a PtTrend widget???

I tried with Pt_ARG_TREND_FLAGS, setting Pt_GRID, Pt_GRID_ABOVE_TRENDS ( or
Pt_TRENDS_ABOVE_GRID ) … but the grid didn’t appear …

Thanx.

fgb <fgi@teamlog.fr> wrote:

Hi

How can i display the grid in a PtTrend widget???

I tried with Pt_ARG_TREND_FLAGS, setting Pt_GRID, Pt_GRID_ABOVE_TRENDS ( or
Pt_TRENDS_ABOVE_GRID ) … but the grid didn’t appear …

That widget used to require a video card that supported masked
bit blitting in the 1.1x days in order to get that grid to
appear. That particular bit of capability vanished from video
cards some years ago.

Don’t know what the current state of affairs is with Photon 2.0,
but I’ll make a note of whatever develops from this thread… :slight_smile:
Wojtek? Did Darrin finish mutating the dratted thing?


Norbert Black
QSSL Training Services
(and Photon course guy…)

Norbert Black <nblack@qnx.com> wrote:

fgb <> fgi@teamlog.fr> > wrote:
How can i display the grid in a PtTrend widget???

I tried with Pt_ARG_TREND_FLAGS, setting Pt_GRID, Pt_GRID_ABOVE_TRENDS ( or
Pt_TRENDS_ABOVE_GRID ) … but the grid didn’t appear …



That widget used to require a video card that supported masked
bit blitting in the 1.1x days in order to get that grid to
appear. That particular bit of capability vanished from video
cards some years ago.

Don’t know what the current state of affairs is with Photon 2.0,
but I’ll make a note of whatever develops from this thread… > :slight_smile:
Wojtek? Did Darrin finish mutating the dratted thing?

There’s a Pt_GRID_FORCE flag that tells the widget to display the grid
even if your hardware doesn’t support masked blit. The price for using
this flag is flicker – the widget must redraw everything every time you
add any data to it. It can be OK if you update the widget every several
seconds but might be annoying if you do it several times a second…


Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.