NetSurf
Functions
about.c File Reference

This is The win32 API about dialog implementation. More...

#include <stdio.h>
#include "utils/config.h"
#include <windows.h>
#include "utils/log.h"
#include "utils/messages.h"
#include "desktop/version.h"
#include "windows/gui.h"
#include "windows/window.h"
#include "windows/about.h"
#include "windows/resourceid.h"
#include "windbg.h"
Include dependency graph for about.c:

Go to the source code of this file.

Functions

static BOOL init_about_dialog (HWND hwnd)
 Initialize the about dialog text fields. More...
 
static BOOL destroy_about_dialog (HWND hwnd)
 destroy resources used to create about dialog More...
 
static BOOL CALLBACK nsws_about_event_callback (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
 
void nsw32_about_dialog_init (HINSTANCE hinst, HWND parent)
 

Detailed Description

This is The win32 API about dialog implementation.

Definition in file about.c.

Function Documentation

◆ destroy_about_dialog()

static BOOL destroy_about_dialog ( HWND  hwnd)
static

destroy resources used to create about dialog

Definition at line 79 of file about.c.

References IDC_ABOUT_VERSION, and NSLOG.

Referenced by nsws_about_event_callback().

Here is the caller graph for this function:

◆ init_about_dialog()

static BOOL init_about_dialog ( HWND  hwnd)
static

Initialize the about dialog text fields.

Definition at line 44 of file about.c.

References IDC_ABOUT_COPYRIGHT, IDC_ABOUT_VERSION, messages_get(), netsurf_version, and NSLOG.

Referenced by nsws_about_event_callback().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsw32_about_dialog_init()

void nsw32_about_dialog_init ( HINSTANCE  hinst,
HWND  parent 
)

Definition at line 142 of file about.c.

References hinst, IDD_ABOUT, messages_get(), nsws_about_event_callback(), parent, and win32_warning().

Referenced by nsws_window_command().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsws_about_event_callback()

static BOOL CALLBACK nsws_about_event_callback ( HWND  hwnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)
static

Definition at line 98 of file about.c.

References destroy_about_dialog(), IDC_BTN_CREDITS, IDC_BTN_LICENCE, init_about_dialog(), LOG_WIN_MSG, NSLOG, and nsws_window_go().

Referenced by nsw32_about_dialog_init().

Here is the call graph for this function:
Here is the caller graph for this function: