Re: [cc65] wrong colors in conio

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-12-10 18:14:24


>>>>> "CG" == Christian Groessler <cpg_at_aladdin.de> writes:

CG> But then I cannot follow the argument that textcolor() should do
CG> nothing instead of setting the luminance as it is now. If
CG> textcolor does nothing, your simplemenu silently will not work
CG> correctly anyway since the text brightness is undefined.

The menu code only calls textcolor(). I included a small InitScreen()
routine in screen.c that sets the background and border color, but if
you're using simplemenu for an atari project it makes more sense to
use your own init procedure. If a textbrightness call is added to
atari.h I'll gladly #ifdef __atari__ and put that in version 1.1,
staying compatible across platforms.

PS: what's the best way to make a function call a dummy call? Would

      #define textcolor() 0

    work?

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-10 18:15:24 CET