DEFINITION MODULE SUTLS;

        (****************************************************************)
        (*                                                              *)
        (*                     PM Setup for Weasel                      *)
        (*                  TLS page of the notebook                    *)
        (*                                                              *)
        (*        Started:        28 April 2025                         *)
        (*        Last edited:    22 May 2025                           *)
        (*        Status:         OK                                    *)
        (*                                                              *)
        (****************************************************************)


IMPORT OS2, CommonSettings, Languages;

PROCEDURE CreatePage (notebook: OS2.HWND;  VAR (*OUT*) PageID: CARDINAL;
                                                TNImode: BOOLEAN): OS2.HWND;

    (* Creates the page and adds it to the notebook. *)

PROCEDURE SetLanguage (lang: Languages.LangHandle);

    (* Relabels this page in the new language. *)

PROCEDURE SetFont (VAR (*IN*) name: CommonSettings.FontName);

    (* Sets the font of the text on this page. *)

PROCEDURE StoreData (hwnd1: OS2.HWND);

    (* Stores the values on this page back into the INI file.  *)

PROCEDURE Close (notebook, hwnd: OS2.HWND);

    (* Shuts down this window and removes it from the notebook. *)

END SUTLS.

