buildingblocks3.hrh
来自「《UIQ 3 The Complete Guide》书的源代码」· HRH 代码 · 共 73 行
HRH
73 行
//
// BuildingBlocks3.hrh - Shared Rsc/C++ hdr file for BuildingBlocks3
//
// Copyright (C) UIQ Technology AB, 2007
//
// This material is provided "as is" without any warranty to its performance or functionality.
// In no event shall UIQ Technology be liable for any damages whatsoever arising out of the
// use or inabilty to use this material.
//
#ifndef __BUILDINGBLOCKS3_HRH__
#define __BUILDINGBLOCKS3_HRH__
///////////////////////////////////////////////////////////////////////////////////////////////
// Menu/toolbar command ids. These are delivered to an app via the aCommand.Id()
enum TAppCommandIds
{
EAppCmdInfo=0x1000, // below 0x1000 reserved for Uiq3 system use
EAppCmdLastItem
};
// UIQ3 has concept of command priorities, this effectivly defines sort order in menus
enum TAppCommandPriorities
{
EAppCmdDefaultPriority,
EAppCmdInfoPriority,
EAppCmdLastPriority
};
// Uiq3 has concept of groups of commands, groups are typically delimited by lines in menu
// All commands need to belong to a group - and groups usually represent common command sets
enum TAppCommandGroupIds
{
EAppCmdMiscGroup, // miscellaneous commands
EAppCmdLastGroupId
};
// Our application has controls. Controls need to be indentified via ids.
enum TAppControlIds
{
EAppSpecificPageId1 = 1,
EAppSpecificPageId2,
EAppSpecificPageId3,
EAppChoiceList1,
EAppChoiceList2,
EAppButton1,
EAppCheckbox1,
EAppSlider1,
EAppEdwin1,
EAppEdwin2,
EAppEdwin3,
EAppEdwin4,
EAppEdwin5,
EAppEdwin6,
EAppDateTime1,
EAppDateTime2,
EAppDateTime3,
EAppDateTime4,
EAppControlLastItem
};
#endif // __BUILDINGBLOCKS3_HRH__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?