mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 06:14:47 +02:00
Update plugin header (part 3)
This commit is contained in:
parent
3395108c59
commit
f677a0c5db
@ -1,5 +1,5 @@
|
|||||||
// This file is part of Notepad++ project
|
// This file is part of Notepad++ project
|
||||||
// Copyright (C)2024 Don HO <don.h@free.fr>
|
// Copyright (C)2025 Don HO <don.h@free.fr>
|
||||||
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
||||||
@ -48,18 +48,18 @@
|
|||||||
|
|
||||||
|
|
||||||
struct tTbData {
|
struct tTbData {
|
||||||
HWND hClient = nullptr; // client Window Handle
|
HWND hClient = nullptr; // client Window Handle
|
||||||
const wchar_t* pszName = nullptr; // name of plugin (shown in window)
|
const wchar_t* pszName = nullptr; // name of plugin (shown in window)
|
||||||
int dlgID = 0; // a funcItem provides the function pointer to start a dialog. Please parse here these ID
|
int dlgID = 0; // a funcItem provides the function pointer to start a dialog. Please parse here these ID
|
||||||
|
|
||||||
// user modifications
|
// user modifications
|
||||||
UINT uMask = 0; // mask params: look to above defines
|
UINT uMask = 0; // mask params: look to above defines
|
||||||
HICON hIconTab = nullptr; // icon for tabs
|
HICON hIconTab = nullptr; // icon for tabs
|
||||||
const wchar_t* pszAddInfo = nullptr; // for plugin to display additional informations
|
const wchar_t* pszAddInfo = nullptr; // for plugin to display additional informations
|
||||||
|
|
||||||
// internal data, do not use !!!
|
// internal data, do not use !!!
|
||||||
RECT rcFloat = {}; // floating position
|
RECT rcFloat = {}; // floating position
|
||||||
int iPrevCont = 0; // stores the privious container (toggling between float and dock)
|
int iPrevCont = 0; // stores the privious container (toggling between float and dock)
|
||||||
const wchar_t* pszModuleName = nullptr; // it's the plugin file name. It's used to identify the plugin
|
const wchar_t* pszModuleName = nullptr; // it's the plugin file name. It's used to identify the plugin
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user